A five-color palette
Neapolitan: a pink, chocolate and cream color palette
Strawberry pink and chocolate brown with a dusty rose, a near-black and a peach cream. Its hex codes are #ff95cb, #341117, #b17d71, #ffd9c3, #7c3d00. 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 |
|---|---|---|---|---|
#ff95cb | Plum (plum) | oklch(79.6% 0.141 348.9) | 10.41:1 passes | 2.02:1 fails |
#341117 | Midnight Blue (midnightblue) | oklch(23.6% 0.057 11.9) | 1.24:1 fails | 16.96:1 passes |
#b17d71 | Rosy Brown (rosybrown) | oklch(63.9% 0.068 33.4) | 6.04:1 passes | 3.48:1 fails |
#ffd9c3 | Peach Puff (peachpuff) | oklch(91.2% 0.052 51.9) | 15.97:1 passes | 1.32:1 fails |
#7c3d00 | Saddle Brown (saddlebrown) | oklch(43.3% 0.107 54.8) | 2.52:1 fails | 8.32:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffd9c3, the lightest of the five, takes the background and #341117, 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: #ff95cb;
--color-2: #341117;
--color-3: #b17d71;
--color-4: #ffd9c3;
--color-5: #7c3d00;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #ff95cb;
--color-2: #341117;
--color-3: #b17d71;
--color-4: #ffd9c3;
--color-5: #7c3d00;
--color-primary: #ff95cb;
--color-secondary: #341117;
--color-accent: #b17d71;
}SCSS variables
$color-1: #ff95cb;
$color-2: #341117;
$color-3: #b17d71;
$color-4: #ffd9c3;
$color-5: #7c3d00;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#ff95cb",
"#341117",
"#b17d71",
"#ffd9c3",
"#7c3d00"
]
}Hex list
#ff95cb
#341117
#b17d71
#ffd9c3
#7c3d00Coolors link
https://coolors.co/ff95cb-341117-b17d71-ffd9c3-7c3d00