Cotton Candy Pastel Color Palette
#F8DCF0 · #D8E0F8 · #F0E0F8 · #5A4E68
Use #F8DCF0 as the background. Use #D8E0F8 as the primary accent. Use #F0E0F8 as secondary. Use #5A4E68 as body text/supporting color. Palette mood: Cotton Candy Pastel — pastel, candy, sunset.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Cotton Candy Pastel color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 77.4% | 248, 220, 240 | 0%, 11%, 3%, 3% | 317°, 67%, 92% | ||
| Decorative / accent Luminance: 74.7% | 216, 224, 248 | 13%, 10%, 0%, 3% | 225°, 70%, 91% | ||
| Decorative / accent Luminance: 78.6% | 240, 224, 248 | 3%, 10%, 0%, 3% | 280°, 63%, 93% | ||
| Text · AA Luminance: 8.6% | 90, 78, 104 | 13%, 25%, 0%, 59% | 268°, 14%, 36% |
Cotton Candy Pastel Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Cotton Candy Pastel palette — click any swatch to copy its hex.
Cotton Candy Pastel Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #5A4E68 on #F0E0F8 |
Aa Sample Text
| 6.13:1 | AA | Body text, UI |
| #F0E0F8 on #5A4E68 |
Aa Sample Text
| 6.13:1 | AA | Body text, UI |
| #5A4E68 on #F8DCF0 |
Aa Sample Text
| 6.05:1 | AA | Body text, UI |
| #F8DCF0 on #5A4E68 |
Aa Sample Text
| 6.05:1 | AA | Body text, UI |
| #5A4E68 on #D8E0F8 |
Aa Sample Text
| 5.84:1 | AA | Body text, UI |
| #D8E0F8 on #5A4E68 |
Aa Sample Text
| 5.84:1 | AA | Body text, UI |
| #F0E0F8 on #D8E0F8 |
Aa Sample Text
| 1.04:1 | Fail | Decorative use only |
| #D8E0F8 on #F0E0F8 |
Aa Sample Text
| 1.04:1 | Fail | Decorative use only |
| #D8E0F8 on #F8DCF0 |
Aa Sample Text
| 1.03:1 | Fail | Decorative use only |
| #F8DCF0 on #D8E0F8 |
Aa Sample Text
| 1.03:1 | Fail | Decorative use only |
| #F0E0F8 on #F8DCF0 |
Aa Sample Text
| 1.01:1 | Fail | Decorative use only |
| #F8DCF0 on #F0E0F8 |
Aa Sample Text
| 1.01:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
Three hue groups at 225°, 280°, 317°, spaced 37°, 55° and 268° apart — that spacing does not match a triadic or split-complementary layout.
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #5A4E68 on #F0E0F8 at 6.13:1 (AA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Industries This Palette Suits
Colors That Pair Well With Cotton Candy Pastel
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #D8E0F8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #D8E0F8 — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Cotton Candy Pastel Without Breaking Accessibility
- Avoid #D8E0F8 for small UI elements on #F8DCF0 — at 1.03:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Set body text in #5A4E68 — 6.05:1 against #F8DCF0 passes WCAG AA (AA) for long-form reading.
- Don't use #F0E0F8 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.
How to Implement the Cotton Candy Pastel Color Scheme
To use this Cotton Candy Pastel color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Cotton Candy Pastel — ihatecolors */
--color-bg: #F8DCF0;
--color-accent: #D8E0F8;
--color-secondary: #F0E0F8;
--color-text: #5A4E68;
} Web Design Tip
#D8E0F8 on #F8DCF0 measures 1.03:1 — the two are nearly indistinguishable, so this pair cannot separate a control from the page. Pick a different slot for actions, or use the darkest shade in the ramp.
Accessibility Note
Body copy in #5A4E68 on #F8DCF0 measures 6.05:1, which passes WCAG AA for normal text but not AAA (7:1).
Cotton Candy Pastel Palette — Frequently Asked Questions
What are the hex codes in the Cotton Candy Pastel color palette?
The Cotton Candy Pastel palette contains #F8DCF0, #D8E0F8, #F0E0F8, #5A4E68. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Cotton Candy Pastel color palette accessible (WCAG)?
Yes for normal text. #5A4E68 on #F0E0F8 reaches 6.13:1, which passes WCAG AA (4.5:1) but not AAA (7:1); it is safe for body copy and UI, not for the strictest accessibility target. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Cotton Candy Pastel palette?
Beyond its own four colors, #E8CD7D, #E1DAF6, #181116 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Cotton Candy Pastel palette create?
Cotton Candy Pastel reads as pastel, candy, sunset. Saturated blue drives the personality, grounded by saturated magenta — a combination that works best when the very light base gets most of the canvas.
Can I use the Cotton Candy Pastel color palette commercially?
Yes. Individual color values can't be copyrighted, so the Cotton Candy Pastel palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Cotton Candy Pastel palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Cotton Candy Pastel's exact values, including the tint and shade ramps shown above.