A shared six-color palette
Medium sea green, coral and crimson: a six-color palette
A six-color palette made in Recolor (recolor.page): #13a538, #ee720e, #e20613, #0bbbef, #164194 and #702283. White text reaches the WCAG AA ratio of 4.5:1 on #e20613, #164194 and #702283, black text on #13a538, #ee720e and #0bbbef.
Shared
| Hex | Nearest CSS name | OKLCH | Black text, AA | White text, AA |
|---|---|---|---|---|
#13a538 | Medium Sea Green (mediumseagreen) | oklch(63.0% 0.187 146.0) | 6.47:1 passes | 3.25:1 fails |
#ee720e | Coral (coral) | oklch(68.7% 0.178 50.0) | 7.05:1 passes | 2.98:1 fails |
#e20613 | Crimson (crimson) | oklch(57.5% 0.233 27.9) | 4.27:1 fails | 4.92:1 passes |
#0bbbef | Deep Sky Blue (deepskyblue) | oklch(73.9% 0.141 227.0) | 9.37:1 passes | 2.24:1 fails |
#164194 | Dark Slate Blue (darkslateblue) | oklch(40.0% 0.145 261.8) | 2.22:1 fails | 9.47:1 passes |
#702283 | Purple (purple) | oklch(41.7% 0.163 319.0) | 2.25:1 fails | 9.35:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #0bbbef, the lightest of the six, takes the background and #164194, 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 four 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: #13a538;
--color-2: #ee720e;
--color-3: #e20613;
--color-4: #0bbbef;
--color-5: #164194;
--color-6: #702283;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #13a538;
--color-2: #ee720e;
--color-3: #e20613;
--color-4: #0bbbef;
--color-5: #164194;
--color-6: #702283;
--color-primary: #13a538;
--color-secondary: #ee720e;
--color-accent: #e20613;
}SCSS variables
$color-1: #13a538;
$color-2: #ee720e;
$color-3: #e20613;
$color-4: #0bbbef;
$color-5: #164194;
$color-6: #702283;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#13a538",
"#ee720e",
"#e20613",
"#0bbbef",
"#164194",
"#702283"
]
}Hex list
#13a538
#ee720e
#e20613
#0bbbef
#164194
#702283Coolors link
https://coolors.co/13a538-ee720e-e20613-0bbbef-164194-702283