Export

Code

/* Pastel Colors — colorset.net */
:root {
  --color-1: #E0F6FF;
  --color-2: #FFE4E1;
  --color-3: #F0FFF0;
  --color-4: #FFFACD;
  --color-5: #E6E6FA;

  --color-bg: #F0FFF0;
  --color-surface: #E7F6E7;
  --color-border: #CCDECC;
  --color-text: #4E4E5F;
  --color-muted: #6B6B7C;
  --color-primary: #928D64;
  --color-on-primary: #000000;
  --color-accent: #8A8A9D;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F14;
    --color-surface: #19191E;
    --color-border: #2D2D36;
    --color-text: #F0FFF0;
    --color-muted: #849184;
    --color-primary: #FFFACD;
    --color-on-primary: #0F0F14;
    --color-accent: #E6E6FA;
    --color-on-accent: #0F0F14;
  }
}

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 3adjusted for contrast · from #E6E6FA
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #E6E6FAfrom palette · color 3
Muted textderivedderived
Primaryadjusted for contrast · from #E6E6FAfrom palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #E6E6FAfrom palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.86:1AAA pass 4.5:1
Text on surface7.26:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary6.22:1AA pass 4.5:1
Label on accent6.20:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background3.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background18.45:1AAA pass 4.5:1
Text on surface16.90:1AAA pass 4.5:1
Muted text on background5.79:1AA pass 4.5:1
Label on primary18.03:1AAA pass 4.5:1
Label on accent15.53:1AAA pass 4.5:1
Primary on background18.03:1AAA pass 3:1
Accent on background15.53: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#E0F6FF (Text 1)#FFE4E1 (Text 2)#F0FFF0 (Text 3)#FFFACD (Text 4)#E6E6FA (Text 5)
#E0F6FFSame color1.08—1.08—1.05—1.10—
#FFE4E11.08—Same color1.16—1.14—1.02—
#F0FFF01.08—1.16—Same color1.02—1.19—
#FFFACD1.05—1.14—1.02—Same color1.16—
#E6E6FA1.10—1.02—1.19—1.16—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#E0F6FF#FFE4E1#F0FFF0#FFFACD#E6E6FA

Variations

About Pastel Colors

Nearly all of the color weight in Pastel Colors sits in neutral, which makes it a balanced palette anchored by off-white #E0F6FF. Everything except off-white #FFFACD is close to neutral, which leaves that one color to carry the brand. All five colors stay in a narrow light band (93% to 98% lightness, #E6E6FA to #F0FFF0), so text and background roles are adjusted for contrast. Saturation is very low (mean OKLCH chroma 0.033, peaking at 0.058 in #FFFACD); the palette is close to grayscale. In light mode #F0FFF0 becomes the background with #4E4E5F text at 7.9:1, and #928D64 takes the primary role. With #FFFACD leading, good fits include clean landing pages, reading apps and editorial design.

Pastel Colors color palette: #E0F6FF, #FFE4E1, #F0FFF0, #FFFACD, #E6E6FA
Share image for Pastel Colors

Gradients in similar colors