#F8DCF0
#D8E0F8
#F0E0F8
#5A4E68
Background
Primary Accent
Secondary
Body Text

Cotton Candy Pastel Color Palette

#F8DCF0 · #D8E0F8 · #F0E0F8 · #5A4E68

AA
WCAG Grade
6.1:1
Contrast Ratio
970
Saves
1,532
AI Copies
AI Prompt

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%
Primary Accent
Luminance: 74.7%
216, 224, 248 13%, 10%, 0%, 3% 225°, 70%, 91%
Secondary
Luminance: 78.6%
240, 224, 248 3%, 10%, 0%, 3% 280°, 63%, 93%
Body Text
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.

#F8DCF0 saturated magenta
#D8E0F8 saturated blue
#F0E0F8 gently saturated violet
#5A4E68 muted violet

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.14:1 AA Body text, UI
#F0E0F8 on #5A4E68
Aa Sample Text
6.14: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.85:1 AA Body text, UI
#D8E0F8 on #5A4E68
Aa Sample Text
5.85:1 AA Body text, UI
#F0E0F8 on #D8E0F8
Aa Sample Text
1.05:1 Fail Decorative use only
#D8E0F8 on #F0E0F8
Aa Sample Text
1.05: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

Cotton Candy Pastel Color Psychology & Meaning

Pastel cotton candy is the fairground version of the same colours, softer and cooler than the real thing because paper and light change them, and this palette is spun pink with spun lilac. It feels dreamy and nostalgic, the color of a cloud with a colour scheme.

Color Harmony: Custom Scheme

The Cotton Candy Pastel palette is built using a custom relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A custom palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

Spun sugar looks paler than the syrup it comes from because the threads are thin enough to scatter light, which is why cotton candy palettes are always high-lightness and low-saturation.

Best Design Use Cases

Use the spun pink for wide surfaces, spun blue for buttons and links, spun lilac for secondary details, and fairground dusk for text.

Industries This Palette Suits

Beauty and skincare, wedding brands, stationery, children's products.

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.

orange

directly opposite #D8E0F8 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

violet

30° beside #D8E0F8 — a calm secondary that extends the palette without adding tension

tinted neutral

a 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.0:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Set body text in #5A4E68 — 6.1: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, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #F8DCF0 for the main background and #D8E0F8 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #5A4E68 and #F8DCF0 is 6.05:1 (AA). Ensure your body text remains legible.

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 its strongest pairings: #5A4E68 on #F0E0F8 reaches 6.1:1 (AA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination 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.

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content