A five-color palette
Fiesta: a raspberry, peach and gold color palette
A raspberry pink with peach, a mustard gold, a brown and a near-black red. Its hex codes are #cf5075, #331513, #ffd2ba, #75593b, #e2be4d. Open it in Recolor (recolor.page) to see it on a real web page, or copy the code below.
Last updated
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#cf5075 | Indian Red (indianred) | oklch(60.9% 0.163 5.3) | 5.06:1 passes | 4.15:1 fails |
#331513 | Maroon (maroon) | oklch(24.0% 0.049 25.3) | 1.26:1 fails | 16.70:1 passes |
#ffd2ba | Peach Puff (peachpuff) | oklch(89.6% 0.060 49.6) | 15.18:1 passes | 1.38:1 fails |
#75593b | Saddle Brown (saddlebrown) | oklch(48.5% 0.057 67.7) | 3.25:1 fails | 6.46:1 passes |
#e2be4d | Dark Khaki (darkkhaki) | oklch(81.2% 0.136 91.3) | 11.71:1 passes | 1.79:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffd2ba, the lightest of the five, takes the background and #331513, the darkest, the text, and the page's other greys keep their place between the two; on a dark page the two swap. The other three take the page's colors in their order: the first of them its heaviest brand color, the next the one after. Reorder the swatches and the page reorders with them; mapping explains it, and the Tint choice that keeps a page's greys as they were. To keep text readable, the table above says whether black or white text reaches the WCAG AA ratio of 4.5:1 on each color.
The code below is what Recolor's own Export panel writes for this palette. The Tailwind block is a Tailwind v4 @theme block, and the Coolors link opens the same colors there. To see the palette on your own site first, follow previewing a palette on a real website.
The palette as code
CSS variables
:root {
--color-1: #cf5075;
--color-2: #331513;
--color-3: #ffd2ba;
--color-4: #75593b;
--color-5: #e2be4d;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #cf5075;
--color-2: #331513;
--color-3: #ffd2ba;
--color-4: #75593b;
--color-5: #e2be4d;
--color-primary: #cf5075;
--color-secondary: #331513;
--color-accent: #ffd2ba;
}SCSS variables
$color-1: #cf5075;
$color-2: #331513;
$color-3: #ffd2ba;
$color-4: #75593b;
$color-5: #e2be4d;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#cf5075",
"#331513",
"#ffd2ba",
"#75593b",
"#e2be4d"
]
}Hex list
#cf5075
#331513
#ffd2ba
#75593b
#e2be4dCoolors link
https://coolors.co/cf5075-331513-ffd2ba-75593b-e2be4d