A five-color palette
Sweet pea: a orchid, wine and pink color palette
An orchid and a wine red with a pale pink, a light rose pink and a red-black. Its hex codes are #c06bb3, #ffe4fa, #87364e, #fbadae, #2c0e09. 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 |
|---|---|---|---|---|
#c06bb3 | Orchid (orchid) | oklch(64.8% 0.141 333.0) | 6.00:1 passes | 3.50:1 fails |
#ffe4fa | Lavender Blush (lavenderblush) | oklch(94.7% 0.041 332.1) | 17.73:1 passes | 1.18:1 fails |
#87364e | Brown (brown) | oklch(45.2% 0.113 4.3) | 2.67:1 fails | 7.87:1 passes |
#fbadae | Light Pink (lightpink) | oklch(82.3% 0.092 18.4) | 11.69:1 passes | 1.80:1 fails |
#2c0e09 | Midnight Blue (midnightblue) | oklch(21.1% 0.051 31.4) | 1.17:1 fails | 17.89:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffe4fa, the lightest of the five, takes the background and #2c0e09, 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: #c06bb3;
--color-2: #ffe4fa;
--color-3: #87364e;
--color-4: #fbadae;
--color-5: #2c0e09;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #c06bb3;
--color-2: #ffe4fa;
--color-3: #87364e;
--color-4: #fbadae;
--color-5: #2c0e09;
--color-primary: #c06bb3;
--color-secondary: #ffe4fa;
--color-accent: #87364e;
}SCSS variables
$color-1: #c06bb3;
$color-2: #ffe4fa;
$color-3: #87364e;
$color-4: #fbadae;
$color-5: #2c0e09;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#c06bb3",
"#ffe4fa",
"#87364e",
"#fbadae",
"#2c0e09"
]
}Hex list
#c06bb3
#ffe4fa
#87364e
#fbadae
#2c0e09Coolors link
https://coolors.co/c06bb3-ffe4fa-87364e-fbadae-2c0e09