Export

Code

/* Unicorn Milk — colorset.net */
:root {
  --color-1: #FBF1FE;
  --color-2: #FAC8F4;
  --color-3: #CFD4FF;
  --color-4: #99EBF0;
  --color-5: #E7EAAC;

  --color-bg: #FBF1FE;
  --color-surface: #FEFBFF;
  --color-border: #E4D7E7;
  --color-text: #4C4F73;
  --color-muted: #6A6D87;
  --color-primary: #AB7DA6;
  --color-on-primary: #000000;
  --color-accent: #8F9156;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0D0E1A;
    --color-surface: #171824;
    --color-border: #2B2C3C;
    --color-text: #FBF1FE;
    --color-muted: #908792;
    --color-primary: #FAC8F4;
    --color-on-primary: #0D0E1A;
    --color-accent: #E7EAAC;
    --color-on-accent: #0D0E1A;
  }
}

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 1adjusted for contrast · from #CFD4FF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #CFD4FFfrom palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #CFD4FFfrom palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #99EBF0from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.15:1AAA pass 4.5:1
Text on surface7.65:1AAA pass 4.5:1
Muted text on background4.61:1AA pass 4.5:1
Label on primary6.22:1AA pass 4.5:1
Label on accent6.35:1AA pass 4.5:1
Primary on background3.08:1AA Large pass 3:1
Accent on background3.01:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.46:1AAA pass 4.5:1
Text on surface16.03:1AAA pass 4.5:1
Muted text on background5.54:1AA pass 4.5:1
Label on primary13.37:1AAA pass 4.5:1
Label on accent15.31:1AAA pass 4.5:1
Primary on background13.37:1AAA pass 3:1
Accent on background15.31: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#FBF1FE (Text 1)#FAC8F4 (Text 2)#CFD4FF (Text 3)#99EBF0 (Text 4)#E7EAAC (Text 5)
#FBF1FESame color1.31—1.32—1.23—1.14—
#FAC8F41.31—Same color1.01—1.06—1.15—
#CFD4FF1.32—1.01—Same color1.07—1.15—
#99EBF01.23—1.06—1.07—Same color1.08—
#E7EAAC1.14—1.15—1.15—1.08—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FBF1FE#FAC8F4#CFD4FF#99EBF0#E7EAAC

Variations

About Unicorn Milk

Holographic pink, lilac and aqua for playful brands. No single hue dominates Unicorn Milk: pink carries about 24% of the color weight, shared with teal and yellow, and pale pink #FAC8F4 sits in the middle of the range. A 170° hue spread puts pale purple against pale yellow #E7EAAC, close to a complementary contrast. All five colors stay in a narrow light band (88% to 97% lightness, #CFD4FF to #FBF1FE), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.064, peaking at 0.080 in #FAC8F4); the colors feel soft and muted. As a UI theme it uses #AB7DA6 for primary actions and #8F9156 as the accent; dark mode sits on #0D0E1A with #FBF1FE text (17.5:1). Its pastel and muted character, led by #FAC8F4, suits clean landing pages, marketing pages and reading apps.

Unicorn Milk color palette: #FBF1FE, #FAC8F4, #CFD4FF, #99EBF0, #E7EAAC
Share image for Unicorn Milk

Gradients in similar colors