Export

Code

/* Cotton Candy Haze — colorset.net */
:root {
  --color-1: #FFD6E8;
  --color-2: #FFE0F0;
  --color-3: #FFEAF5;
  --color-4: #FFF0F8;
  --color-5: #FFF8FC;

  --color-bg: #FFF8FC;
  --color-surface: #F6EFF3;
  --color-border: #DFD5DB;
  --color-text: #674655;
  --color-muted: #806571;
  --color-primary: #A47F8F;
  --color-on-primary: #000000;
  --color-accent: #6D505D;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160C11;
    --color-surface: #21161B;
    --color-border: #382930;
    --color-text: #FFF8FC;
    --color-muted: #918B8F;
    --color-primary: #FFD6E8;
    --color-on-primary: #160C11;
    --color-accent: #C3A2B0;
    --color-on-accent: #160C11;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 5adjusted for contrast · from #FFD6E8
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FFD6E8from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #FFD6E8from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #FFD6E8adjusted for contrast · from #FFD6E8
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.77:1AAA pass 4.5:1
Text on surface7.18:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary6.01:1AA pass 4.5:1
Label on accent7.10:1AAA pass 4.5:1
Primary on background3.34:1AA Large pass 3:1
Accent on background6.80:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.35:1AAA pass 4.5:1
Text on surface16.80:1AAA pass 4.5:1
Muted text on background5.75:1AA pass 4.5:1
Label on primary14.65:1AAA pass 4.5:1
Label on accent8.33:1AAA pass 4.5:1
Primary on background14.65:1AAA pass 3:1
Accent on background8.33:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#FFD6E8 (Text 1)#FFE0F0 (Text 2)#FFEAF5 (Text 3)#FFF0F8 (Text 4)#FFF8FC (Text 5)
#FFD6E8Same color1.07—1.14—1.19—1.25—
#FFE0F01.07—Same color1.07—1.11—1.17—
#FFEAF51.14—1.07—Same color1.04—1.10—
#FFF0F81.19—1.11—1.04—Same color1.05—
#FFF8FC1.25—1.17—1.10—1.05—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FFD6E8#FFE0F0#FFEAF5#FFF0F8#FFF8FC

Variations

About Cotton Candy Haze

No single hue dominates Cotton Candy Haze: pink carries about 56% of the color weight, shared with neutral, and off-white #FFEAF5 sits in the middle of the range. With a hue spread of just 5°, it is effectively monochromatic: #FFD6E8 and #FFE0F0 differ mostly in lightness. All five colors stay in a narrow light band (92% to 99% lightness, #FFD6E8 to #FFF8FC), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.029, peaking at 0.051 in #FFD6E8); the palette is close to grayscale. As a UI theme it uses #A47F8F for primary actions and #6D505D as the accent; dark mode sits on #160C11 with #FFF8FC text (18.3:1). With #FFD6E8 leading, good fits include focused single-product sites, minimal branding and e-commerce product pages.

Cotton Candy Haze color palette: #FFD6E8, #FFE0F0, #FFEAF5, #FFF0F8, #FFF8FC
Share image for Cotton Candy Haze

Gradients in similar colors