Export

Code

/* Sweet Pastel — colorset.net */
:root {
  --color-1: #F4C2C2;
  --color-2: #FFE5B4;
  --color-3: #D5F4E6;
  --color-4: #B8E6B8;
  --color-5: #C8B2DB;

  --color-bg: #D5F4E6;
  --color-surface: #E5F8EF;
  --color-border: #BBDCCD;
  --color-text: #594568;
  --color-muted: #73667E;
  --color-primary: #937EA5;
  --color-on-primary: #000000;
  --color-accent: #689369;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #130C18;
    --color-surface: #1D1622;
    --color-border: #322A39;
    --color-text: #D5F4E6;
    --color-muted: #708D80;
    --color-primary: #C8B2DB;
    --color-on-primary: #130C18;
    --color-accent: #B8E6B8;
    --color-on-accent: #130C18;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.23:1AAA pass 4.5:1
Text on surface7.68:1AAA pass 4.5:1
Muted text on background4.56:1AA pass 4.5:1
Label on primary5.77:1AA pass 4.5:1
Label on accent5.97:1AA pass 4.5:1
Primary on background3.11:1AA Large pass 3:1
Accent on background3.00:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.38:1AAA pass 4.5:1
Text on surface15.05:1AAA pass 4.5:1
Muted text on background5.31:1AA pass 4.5:1
Label on primary9.92:1AAA pass 4.5:1
Label on accent13.76:1AAA pass 4.5:1
Primary on background9.92:1AAA pass 3:1
Accent on background13.76: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#F4C2C2 (Text 1)#FFE5B4 (Text 2)#D5F4E6 (Text 3)#B8E6B8 (Text 4)#C8B2DB (Text 5)
#F4C2C2Same color1.28—1.34—1.13—1.23—
#FFE5B41.28—Same color1.05—1.14—1.58—
#D5F4E61.34—1.05—Same color1.19—1.65—
#B8E6B81.13—1.14—1.19—Same color1.39—
#C8B2DB1.23—1.58—1.65—1.39—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#F4C2C2#FFE5B4#D5F4E6#B8E6B8#C8B2DB

Variations

About Sweet Pastel

Sweet Pastel is a balanced multi-color palette of 5 colors that runs from pale green #D5F4E6 to light purple #C8B2DB. A 164° hue spread puts pale green against light purple #C8B2DB, close to a complementary contrast. All five colors stay in a narrow light band (80% to 94% lightness, #C8B2DB to #D5F4E6), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.061, peaking at 0.079 in #B8E6B8); the colors feel soft and muted. As a UI theme it uses #937EA5 for primary actions and #689369 as the accent; dark mode sits on #130C18 with #D5F4E6 text (16.4:1). Its pastel and muted character, led by #C8B2DB, suits boutique brands, photography portfolios and editorial design.

Sweet Pastel color palette: #F4C2C2, #FFE5B4, #D5F4E6, #B8E6B8, #C8B2DB
Share image for Sweet Pastel

Gradients in similar colors