Cotton Candy Color Palette
Soft, airy pastels for friendly apps, onboarding screens and illustrations. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.
Color codes
| Colour | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
Contrast
WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.
Aa#cddafd on #e2ece91.16:1 · Fail
Aa#bee1e6 on #e2ece91.15:1 · Fail
Aa#cddafd on #fde2e41.14:1 · Fail
Aa#bee1e6 on #fde2e41.14:1 · Fail
CSS variables
:root {
--cotton-candy-1: #fde2e4;
--cotton-candy-2: #fad2e1;
--cotton-candy-3: #e2ece9;
--cotton-candy-4: #bee1e6;
--cotton-candy-5: #cddafd;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'cotton-candy': {
100: '#fde2e4',
200: '#fad2e1',
300: '#e2ece9',
400: '#bee1e6',
500: '#cddafd',
},
},
},
},
};FAQ
What colors are in the Cotton Candy palette?
Cotton Candy uses #fde2e4, #fad2e1, #e2ece9, #bee1e6, #cddafd.
Which colors in Cotton Candy work for text?
The strongest pair is #e2ece9 and #cddafd with a contrast ratio of 1.16:1 (Fail).