A five-color palette
Spice market: a vermilion, saffron and brown color palette
Vermilion and saffron with a dark brown, an olive brown and a pale peach. Its hex codes are #d34a21, #e7b366, #3e1d00, #654c00, #fbd8cb. 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 |
|---|---|---|---|---|
#d34a21 | Indian Red (indianred) | oklch(59.3% 0.180 36.4) | 4.77:1 passes | 4.40:1 fails |
#e7b366 | Burly Wood (burlywood) | oklch(79.9% 0.113 75.8) | 11.04:1 passes | 1.90:1 fails |
#3e1d00 | Maroon (maroon) | oklch(27.2% 0.065 57.5) | 1.38:1 fails | 15.21:1 passes |
#654c00 | Saddle Brown (saddlebrown) | oklch(43.1% 0.088 86.8) | 2.59:1 fails | 8.12:1 passes |
#fbd8cb | Peach Puff (peachpuff) | oklch(90.8% 0.043 41.5) | 15.79:1 passes | 1.33:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #fbd8cb, the lightest of the five, takes the background and #3e1d00, 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: #d34a21;
--color-2: #e7b366;
--color-3: #3e1d00;
--color-4: #654c00;
--color-5: #fbd8cb;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #d34a21;
--color-2: #e7b366;
--color-3: #3e1d00;
--color-4: #654c00;
--color-5: #fbd8cb;
--color-primary: #d34a21;
--color-secondary: #e7b366;
--color-accent: #3e1d00;
}SCSS variables
$color-1: #d34a21;
$color-2: #e7b366;
$color-3: #3e1d00;
$color-4: #654c00;
$color-5: #fbd8cb;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#d34a21",
"#e7b366",
"#3e1d00",
"#654c00",
"#fbd8cb"
]
}Hex list
#d34a21
#e7b366
#3e1d00
#654c00
#fbd8cbCoolors link
https://coolors.co/d34a21-e7b366-3e1d00-654c00-fbd8cb