Disco Sunrise

Export

Code

/* Disco Sunrise — colorset.net */
:root {
  --color-1: #FBEBD8;
  --color-2: #E4572E;
  --color-3: #F3A712;
  --color-4: #A23B72;
  --color-5: #2B1A2E;

  --color-bg: #FBEBD8;
  --color-surface: #FDF3E8;
  --color-border: #E4D2BC;
  --color-text: #2B1A2E;
  --color-muted: #78657B;
  --color-primary: #D2461A;
  --color-on-primary: #FFFFFF;
  --color-accent: #A23B72;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #2B1A2E;
    --color-surface: #36253A;
    --color-border: #4C3B4F;
    --color-text: #FBEBD8;
    --color-muted: #A0917F;
    --color-primary: #D2461A;
    --color-on-primary: #FFFFFF;
    --color-accent: #836F87;
    --color-on-accent: #FFFFFF;
  }
}

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 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryadjusted for contrast · from #E4572Eadjusted for contrast · from #E4572E
On primaryderivedderived
Accentfrom palette · color 4adjusted for contrast · from #A23B72
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background13.94:1AAA pass 4.5:1
Text on surface14.86:1AAA pass 4.5:1
Muted text on background4.56:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent6.17:1AA pass 4.5:1
Primary on background3.88:1AA Large pass 3:1
Accent on background5.28:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.94:1AAA pass 4.5:1
Text on surface12.13:1AAA pass 4.5:1
Muted text on background5.31:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent4.58:1AA pass 4.5:1
Primary on background3.59:1AA Large pass 3:1
Accent on background3.56:1AA Large 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#FBEBD8 (Text 1)#E4572E (Text 2)#F3A712 (Text 3)#A23B72 (Text 4)#2B1A2E (Text 5)
#FBEBD8Same color3.15AA Large1.74—5.28AA13.94AAA
#E4572E3.15AA LargeSame color1.81—1.67—4.42AA Large
#F3A7121.74—1.81—Same color3.04AA Large8.02AAA
#A23B725.28AA1.67—3.04AA LargeSame color2.64—
#2B1A2E13.94AAA4.42AA Large8.02AAA2.64—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FBEBD8#E4572E#F3A712#A23B72#2B1A2E

Variations

About Disco Sunrise

Sunrise orange and gold with a magenta disco-ball glint. Five colors make up Disco Sunrise, a warm multi-color set: #FBEBD8, #E4572E, #F3A712, #A23B72, #2B1A2E. Light yellow #F3A712 and deep purple #2B1A2E are 114° apart, so the palette has clear hue contrast without clashing. A 70-point lightness range (25% for #2B1A2E to 95% for #FBEBD8) gives strong value contrast, useful for text on background. Average chroma is 0.114, medium for a palette, so the colors are clear without being loud; the most saturated color is #E4572E. As a UI theme it uses #D2461A for primary actions and #A23B72 as the accent; dark mode sits on #2B1A2E with #FBEBD8 text (13.9:1). Its character, led by #E4572E, suits marketing pages, brand systems with many sub-brands and data visualization.

Disco Sunrise color palette: #FBEBD8, #E4572E, #F3A712, #A23B72, #2B1A2E
Share image for Disco Sunrise

Gradients in similar colors