Sunset Gradient

Export

Code

/* Sunset Gradient — colorset.net */
:root {
  --color-1: #9C27B0;
  --color-2: #E91E63;
  --color-3: #F44336;
  --color-4: #FF9800;
  --color-5: #FFEB3B;

  --color-bg: #F9F8E8;
  --color-surface: #F0EEDF;
  --color-border: #D8D6C3;
  --color-text: #68406F;
  --color-muted: #78657B;
  --color-primary: #E51760;
  --color-on-primary: #FFFFFF;
  --color-accent: #827600;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160A19;
    --color-surface: #211423;
    --color-border: #37273A;
    --color-text: #EDE9C3;
    --color-muted: #878469;
    --color-primary: #E51760;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFEB3B;
    --color-on-accent: #160A19;
  }
}

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
Backgroundadjusted for contrast · from #FFEB3Badjusted for contrast · from #9C27B0
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #9C27B0adjusted for contrast · from #FFEB3B
Muted textderivedderived
Primaryadjusted for contrast · from #E91E63adjusted for contrast · from #E91E63
On primaryderivedderived
Accentadjusted for contrast · from #F44336from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.69:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent4.63:1AA pass 4.5:1
Primary on background4.24:1AA Large pass 3:1
Accent on background4.32:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.61:1AAA pass 4.5:1
Text on surface14.34:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary4.54:1AA pass 4.5:1
Label on accent15.76:1AAA pass 4.5:1
Primary on background4.24:1AA Large pass 3:1
Accent on background15.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#9C27B0 (Text 1)#E91E63 (Text 2)#F44336 (Text 3)#FF9800 (Text 4)#FFEB3B (Text 5)
#9C27B0Same color1.45—1.71—2.93—5.16AA
#E91E631.45—Same color1.18—2.02—3.56AA Large
#F443361.71—1.18—Same color1.71—3.02AA Large
#FF98002.93—2.02—1.71—Same color1.77—
#FFEB3B5.16AA3.56AA Large3.02AA Large1.77—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#9C27B0#E91E63#F44336#FF9800#FFEB3B

Variations

About Sunset Gradient

No single hue dominates Sunset Gradient: purple carries about 21% of the color weight, shared with pink and red, and vivid red #F44336 sits in the middle of the range. The hues range across 141° of the wheel, pairing vivid purple #9C27B0 with pale yellow for lively contrast. Lightness spans 52% (#9C27B0) to 93% (#FFEB3B), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.203, peaking at 0.230 in #E91E63); the colors feel saturated and energetic. Text contrast reaches 7.7:1 in light mode and 15.6:1 in dark mode, with #E51760 as primary and #827600 as accent. With #E91E63 leading, good fits include marketing pages, kids’ apps and illustration.

Sunset Gradient color palette: #9C27B0, #E91E63, #F44336, #FF9800, #FFEB3B
Share image for Sunset Gradient

Gradients in similar colors