A five-color palette
Strawberry: a pink, rose and rust color palette
A bright pink and a rose red, a dark wine for text, a pale peach pink and a rust. Its hex codes are #fc9bc2, #2a1419, #ca7174, #ffd5cf, #8c3b23. 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 |
|---|---|---|---|---|
#fc9bc2 | Plum (plum) | oklch(79.9% 0.124 354.6) | 10.61:1 passes | 1.98:1 fails |
#2a1419 | Midnight Blue (midnightblue) | oklch(22.5% 0.037 5.8) | 1.21:1 fails | 17.32:1 passes |
#ca7174 | Indian Red (indianred) | oklch(64.9% 0.112 18.5) | 6.13:1 passes | 3.43:1 fails |
#ffd5cf | Peach Puff (peachpuff) | oklch(90.7% 0.048 27.6) | 15.67:1 passes | 1.34:1 fails |
#8c3b23 | Saddle Brown (saddlebrown) | oklch(45.8% 0.117 37.1) | 2.76:1 fails | 7.60:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffd5cf, the lightest of the five, takes the background and #2a1419, 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: #fc9bc2;
--color-2: #2a1419;
--color-3: #ca7174;
--color-4: #ffd5cf;
--color-5: #8c3b23;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #fc9bc2;
--color-2: #2a1419;
--color-3: #ca7174;
--color-4: #ffd5cf;
--color-5: #8c3b23;
--color-primary: #fc9bc2;
--color-secondary: #2a1419;
--color-accent: #ca7174;
}SCSS variables
$color-1: #fc9bc2;
$color-2: #2a1419;
$color-3: #ca7174;
$color-4: #ffd5cf;
$color-5: #8c3b23;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#fc9bc2",
"#2a1419",
"#ca7174",
"#ffd5cf",
"#8c3b23"
]
}Hex list
#fc9bc2
#2a1419
#ca7174
#ffd5cf
#8c3b23Coolors link
https://coolors.co/fc9bc2-2a1419-ca7174-ffd5cf-8c3b23