A five-color palette
Bubblegum: a pink, plum and mauve color palette
A bubblegum pink and a dusky plum with a pale pink, a dark plum and a gray mauve. Its hex codes are #f68bcc, #824a75, #ffecfe, #371b32, #9b7494. 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 |
|---|---|---|---|---|
#f68bcc | Plum (plum) | oklch(77.1% 0.150 343.9) | 9.48:1 passes | 2.21:1 fails |
#824a75 | Dim Grey (dimgrey) | oklch(49.0% 0.096 336.1) | 3.19:1 fails | 6.59:1 passes |
#ffecfe | Lavender Blush (lavenderblush) | oklch(96.3% 0.031 327.4) | 18.68:1 passes | 1.12:1 fails |
#371b32 | Midnight Blue (midnightblue) | oklch(27.1% 0.057 334.0) | 1.37:1 fails | 15.38:1 passes |
#9b7494 | Grey (grey) | oklch(60.8% 0.066 332.7) | 5.32:1 passes | 3.95:1 fails |
Using the palette
In Recolor the lightness and the order of the colors are meaning. On a light page #ffecfe, the lightest of the five, takes the background and #371b32, 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: #f68bcc;
--color-2: #824a75;
--color-3: #ffecfe;
--color-4: #371b32;
--color-5: #9b7494;
--color-primary: var(--color-1);
--color-secondary: var(--color-2);
--color-accent: var(--color-3);
}Tailwind v4 @theme
@theme {
--color-1: #f68bcc;
--color-2: #824a75;
--color-3: #ffecfe;
--color-4: #371b32;
--color-5: #9b7494;
--color-primary: #f68bcc;
--color-secondary: #824a75;
--color-accent: #ffecfe;
}SCSS variables
$color-1: #f68bcc;
$color-2: #824a75;
$color-3: #ffecfe;
$color-4: #371b32;
$color-5: #9b7494;
$color-primary: $color-1;
$color-secondary: $color-2;
$color-accent: $color-3;JSON
{
"colors": [
"#f68bcc",
"#824a75",
"#ffecfe",
"#371b32",
"#9b7494"
]
}Hex list
#f68bcc
#824a75
#ffecfe
#371b32
#9b7494Coolors link
https://coolors.co/f68bcc-824a75-ffecfe-371b32-9b7494