A five-color palette
Rosehip: a rose, rust and ochre color palette
A dusty rose and a rust red with a pale peach, an ochre and a dark olive-black. Its hex codes are #d6a3aa, #8f3429, #ffdab8, #b36f00, #262214. 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 |
|---|---|---|---|---|
#d6a3aa | Dark Salmon (darksalmon) | oklch(76.5% 0.061 9.4) | 9.68:1 passes | 2.17:1 fails |
#8f3429 | Brown (brown) | oklch(45.3% 0.126 29.7) | 2.69:1 fails | 7.80:1 passes |
#ffdab8 | Peach Puff (peachpuff) | oklch(91.1% 0.061 64.5) | 15.97:1 passes | 1.31:1 fails |
#b36f00 | Dark Goldenrod (darkgoldenrod) | oklch(60.1% 0.132 68.2) | 5.19:1 passes | 4.05:1 fails |
#262214 | Dark Slate Grey (darkslategrey) | oklch(25.2% 0.025 94.1) | 1.32:1 fails | 15.89:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffdab8, the lightest of the five, takes the background and #262214, 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: #d6a3aa;
--color-2: #8f3429;
--color-3: #ffdab8;
--color-4: #b36f00;
--color-5: #262214;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #d6a3aa;
--color-2: #8f3429;
--color-3: #ffdab8;
--color-4: #b36f00;
--color-5: #262214;
--color-primary: #d6a3aa;
--color-secondary: #8f3429;
--color-accent: #ffdab8;
}SCSS variables
$color-1: #d6a3aa;
$color-2: #8f3429;
$color-3: #ffdab8;
$color-4: #b36f00;
$color-5: #262214;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#d6a3aa",
"#8f3429",
"#ffdab8",
"#b36f00",
"#262214"
]
}Hex list
#d6a3aa
#8f3429
#ffdab8
#b36f00
#262214Coolors link
https://coolors.co/d6a3aa-8f3429-ffdab8-b36f00-262214