A five-color palette
Peony: a berry, pink and mauve color palette
Berry and pink with a near-black plum, a dusty mauve and a light pink. Its hex codes are #843a65, #ea9fc7, #261820, #ae7b9d, #ffc6e7. 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 |
|---|---|---|---|---|
#843a65 | Purple (purple) | oklch(46.1% 0.114 346.6) | 2.77:1 fails | 7.57:1 passes |
#ea9fc7 | Plum (plum) | oklch(78.7% 0.102 346.5) | 10.28:1 passes | 2.04:1 fails |
#261820 | Midnight Blue (midnightblue) | oklch(23.0% 0.026 344.1) | 1.23:1 fails | 17.02:1 passes |
#ae7b9d | Rosy Brown (rosybrown) | oklch(64.5% 0.078 339.6) | 6.12:1 passes | 3.43:1 fails |
#ffc6e7 | Pink (pink) | oklch(88.7% 0.077 343.2) | 14.48:1 passes | 1.45:1 fails |
Using the palette
In Recolor the order of the colors is meaning: swatch 1 takes the page's heaviest brand color, swatch 2 the next, and the page's greys take a tint of swatch 1 (how that works is in mapping). Reorder the swatches and the page reorders with them. 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; #261820 is the darkest of the five.
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: #843a65;
--color-2: #ea9fc7;
--color-3: #261820;
--color-4: #ae7b9d;
--color-5: #ffc6e7;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #843a65;
--color-2: #ea9fc7;
--color-3: #261820;
--color-4: #ae7b9d;
--color-5: #ffc6e7;
--color-primary: #843a65;
--color-secondary: #ea9fc7;
--color-accent: #261820;
}SCSS variables
$color-1: #843a65;
$color-2: #ea9fc7;
$color-3: #261820;
$color-4: #ae7b9d;
$color-5: #ffc6e7;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#843a65",
"#ea9fc7",
"#261820",
"#ae7b9d",
"#ffc6e7"
]
}Hex list
#843a65
#ea9fc7
#261820
#ae7b9d
#ffc6e7Coolors link
https://coolors.co/843a65-ea9fc7-261820-ae7b9d-ffc6e7