A five-color palette
Coral reef: a coral, turquoise and navy color palette
Coral and turquoise with a deep navy, a brown and a peach. Its hex codes are #d75f4c, #3ecee4, #00262e, #7c4430, #ffcbb7. 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 |
|---|---|---|---|---|
#d75f4c | Indian Red (indianred) | oklch(63.2% 0.155 31.0) | 5.63:1 passes | 3.73:1 fails |
#3ecee4 | Dark Turquoise (darkturquoise) | oklch(78.6% 0.121 210.0) | 11.15:1 passes | 1.88:1 fails |
#00262e | Midnight Blue (midnightblue) | oklch(24.7% 0.044 215.2) | 1.32:1 fails | 15.95:1 passes |
#7c4430 | Saddle Brown (saddlebrown) | oklch(45.0% 0.083 40.2) | 2.73:1 fails | 7.70:1 passes |
#ffcbb7 | Peach Puff (peachpuff) | oklch(88.3% 0.065 42.1) | 14.48:1 passes | 1.45:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffcbb7, the lightest of the five, takes the background and #00262e, 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: #d75f4c;
--color-2: #3ecee4;
--color-3: #00262e;
--color-4: #7c4430;
--color-5: #ffcbb7;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #d75f4c;
--color-2: #3ecee4;
--color-3: #00262e;
--color-4: #7c4430;
--color-5: #ffcbb7;
--color-primary: #d75f4c;
--color-secondary: #3ecee4;
--color-accent: #00262e;
}SCSS variables
$color-1: #d75f4c;
$color-2: #3ecee4;
$color-3: #00262e;
$color-4: #7c4430;
$color-5: #ffcbb7;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#d75f4c",
"#3ecee4",
"#00262e",
"#7c4430",
"#ffcbb7"
]
}Hex list
#d75f4c
#3ecee4
#00262e
#7c4430
#ffcbb7Coolors link
https://coolors.co/d75f4c-3ecee4-00262e-7c4430-ffcbb7