A five-color palette
Plum and rust: a mauve, plum and rust color palette
A soft mauve and a deep plum with blush pink, a rust orange and a dark brown. Its hex codes are #cca3c4, #7d3758, #ffd0cd, #c5552f, #302214. 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 |
|---|---|---|---|---|
#cca3c4 | Plum (plum) | oklch(76.3% 0.065 333.0) | 9.60:1 passes | 2.19:1 fails |
#7d3758 | Brown (brown) | oklch(44.1% 0.105 352.7) | 2.56:1 fails | 8.21:1 passes |
#ffd0cd | Pink (pink) | oklch(89.7% 0.053 22.5) | 15.16:1 passes | 1.39:1 fails |
#c5552f | Indian Red (indianred) | oklch(58.7% 0.153 38.7) | 4.71:1 passes | 4.45:1 fails |
#302214 | Dark Slate Grey (darkslategrey) | oklch(26.5% 0.032 65.7) | 1.36:1 fails | 15.39:1 passes |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffd0cd, the lightest of the five, takes the background and #302214, 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: #cca3c4;
--color-2: #7d3758;
--color-3: #ffd0cd;
--color-4: #c5552f;
--color-5: #302214;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #cca3c4;
--color-2: #7d3758;
--color-3: #ffd0cd;
--color-4: #c5552f;
--color-5: #302214;
--color-primary: #cca3c4;
--color-secondary: #7d3758;
--color-accent: #ffd0cd;
}SCSS variables
$color-1: #cca3c4;
$color-2: #7d3758;
$color-3: #ffd0cd;
$color-4: #c5552f;
$color-5: #302214;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#cca3c4",
"#7d3758",
"#ffd0cd",
"#c5552f",
"#302214"
]
}Hex list
#cca3c4
#7d3758
#ffd0cd
#c5552f
#302214Coolors link
https://coolors.co/cca3c4-7d3758-ffd0cd-c5552f-302214