A five-color palette
Peacock: a turquoise, teal and pink color palette
Turquoise and two teals against a pale pink and a dark aubergine. Its hex codes are #421628, #3ecdbf, #0f6762, #ffc3d9, #00ab9e. 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 |
|---|---|---|---|---|
#421628 | Maroon (maroon) | oklch(27.6% 0.072 357.3) | 1.38:1 fails | 15.25:1 passes |
#3ecdbf | Medium Turquoise (mediumturquoise) | oklch(77.1% 0.120 185.5) | 10.69:1 passes | 1.96:1 fails |
#0f6762 | Dark Slate Grey (darkslategrey) | oklch(46.5% 0.077 188.8) | 3.14:1 fails | 6.69:1 passes |
#ffc3d9 | Pink (pink) | oklch(87.7% 0.074 354.9) | 14.06:1 passes | 1.49:1 fails |
#00ab9e | Light Sea Green (lightseagreen) | oklch(66.7% 0.117 185.3) | 7.32:1 passes | 2.87:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffc3d9, the lightest of the five, takes the background and #421628, 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: #421628;
--color-2: #3ecdbf;
--color-3: #0f6762;
--color-4: #ffc3d9;
--color-5: #00ab9e;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #421628;
--color-2: #3ecdbf;
--color-3: #0f6762;
--color-4: #ffc3d9;
--color-5: #00ab9e;
--color-primary: #421628;
--color-secondary: #3ecdbf;
--color-accent: #0f6762;
}SCSS variables
$color-1: #421628;
$color-2: #3ecdbf;
$color-3: #0f6762;
$color-4: #ffc3d9;
$color-5: #00ab9e;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#421628",
"#3ecdbf",
"#0f6762",
"#ffc3d9",
"#00ab9e"
]
}Hex list
#421628
#3ecdbf
#0f6762
#ffc3d9
#00ab9eCoolors link
https://coolors.co/421628-3ecdbf-0f6762-ffc3d9-00ab9e