A five-color palette
Raspberry: a raspberry, pink and aubergine color palette
Raspberry and pink with an aubergine, a clay brown and a peach pink. Its hex codes are #87334d, #eb9eca, #3d193d, #b27f6b, #ffcac5. 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 |
|---|---|---|---|---|
#87334d | Brown (brown) | oklch(44.7% 0.117 3.9) | 2.61:1 fails | 8.04:1 passes |
#eb9eca | Plum (plum) | oklch(78.8% 0.107 344.6) | 10.28:1 passes | 2.04:1 fails |
#3d193d | Midnight Blue (midnightblue) | oklch(28.2% 0.078 327.4) | 1.40:1 fails | 14.95:1 passes |
#b27f6b | Rosy Brown (rosybrown) | oklch(64.2% 0.070 42.3) | 6.14:1 passes | 3.42:1 fails |
#ffcac5 | Pink (pink) | oklch(88.4% 0.061 24.6) | 14.51: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; #3d193d 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: #87334d;
--color-2: #eb9eca;
--color-3: #3d193d;
--color-4: #b27f6b;
--color-5: #ffcac5;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #87334d;
--color-2: #eb9eca;
--color-3: #3d193d;
--color-4: #b27f6b;
--color-5: #ffcac5;
--color-primary: #87334d;
--color-secondary: #eb9eca;
--color-accent: #3d193d;
}SCSS variables
$color-1: #87334d;
$color-2: #eb9eca;
$color-3: #3d193d;
$color-4: #b27f6b;
$color-5: #ffcac5;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#87334d",
"#eb9eca",
"#3d193d",
"#b27f6b",
"#ffcac5"
]
}Hex list
#87334d
#eb9eca
#3d193d
#b27f6b
#ffcac5Coolors link
https://coolors.co/87334d-eb9eca-3d193d-b27f6b-ffcac5