A shared five-color palette
Dark cyan, midnight blue and misty rose: a five-color palette
A five-color palette made in Recolor (recolor.page): #0e94a8, #1d180c, #f5dee1, #eba0e3 and #7b3b77. White text reaches the WCAG AA ratio of 4.5:1 on #1d180c and #7b3b77, black text on #0e94a8, #f5dee1 and #eba0e3.
Shared
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#0e94a8 | Dark Cyan (darkcyan) | oklch(61.2% 0.104 211.8) | 5.82:1 passes | 3.61:1 fails |
#1d180c | Midnight Blue (midnightblue) | oklch(21.1% 0.023 87.8) | 1.19:1 fails | 17.67:1 passes |
#f5dee1 | Misty Rose (mistyrose) | oklch(92.0% 0.026 8.6) | 16.42:1 passes | 1.28:1 fails |
#eba0e3 | Plum (plum) | oklch(80.0% 0.123 330.4) | 10.67:1 passes | 1.97:1 fails |
#7b3b77 | Rebecca Purple (rebeccapurple) | oklch(45.8% 0.120 329.7) | 2.73:1 fails | 7.68:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #f5dee1, the lightest of the five, takes the background and #1d180c, 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: #0e94a8;
--color-2: #1d180c;
--color-3: #f5dee1;
--color-4: #eba0e3;
--color-5: #7b3b77;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #0e94a8;
--color-2: #1d180c;
--color-3: #f5dee1;
--color-4: #eba0e3;
--color-5: #7b3b77;
--color-primary: #0e94a8;
--color-secondary: #1d180c;
--color-accent: #f5dee1;
}SCSS variables
$color-1: #0e94a8;
$color-2: #1d180c;
$color-3: #f5dee1;
$color-4: #eba0e3;
$color-5: #7b3b77;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#0e94a8",
"#1d180c",
"#f5dee1",
"#eba0e3",
"#7b3b77"
]
}Hex list
#0e94a8
#1d180c
#f5dee1
#eba0e3
#7b3b77Coolors link
https://coolors.co/0e94a8-1d180c-f5dee1-eba0e3-7b3b77