A five-color palette
Cherry: a cherry red, salmon and blush color palette
A cherry red and a softer brick red with salmon pink, a red-black for text and a blush white. Its hex codes are #a42a38, #ff9f9d, #261617, #cd5554, #ffe6e4. 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 |
|---|---|---|---|---|
#a42a38 | Brown (brown) | oklch(48.1% 0.157 19.4) | 2.97:1 fails | 7.08:1 passes |
#ff9f9d | Light Salmon (lightsalmon) | oklch(79.9% 0.115 21.2) | 10.70:1 passes | 1.96:1 fails |
#261617 | Midnight Blue (midnightblue) | oklch(22.2% 0.026 15.3) | 1.21:1 fails | 17.36:1 passes |
#cd5554 | Indian Red (indianred) | oklch(60.4% 0.153 23.3) | 5.02:1 passes | 4.18:1 fails |
#ffe6e4 | Misty Rose (mistyrose) | oklch(94.5% 0.028 23.1) | 17.69:1 passes | 1.19:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffe6e4, the lightest of the five, takes the background and #261617, 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: #a42a38;
--color-2: #ff9f9d;
--color-3: #261617;
--color-4: #cd5554;
--color-5: #ffe6e4;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #a42a38;
--color-2: #ff9f9d;
--color-3: #261617;
--color-4: #cd5554;
--color-5: #ffe6e4;
--color-primary: #a42a38;
--color-secondary: #ff9f9d;
--color-accent: #261617;
}SCSS variables
$color-1: #a42a38;
$color-2: #ff9f9d;
$color-3: #261617;
$color-4: #cd5554;
$color-5: #ffe6e4;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#a42a38",
"#ff9f9d",
"#261617",
"#cd5554",
"#ffe6e4"
]
}Hex list
#a42a38
#ff9f9d
#261617
#cd5554
#ffe6e4Coolors link
https://coolors.co/a42a38-ff9f9d-261617-cd5554-ffe6e4