Retro Rainbow

Export

Code

/* Retro Rainbow — colorset.net */
:root {
  --color-1: #FF4081;
  --color-2: #40E0D0;
  --color-3: #FFD700;
  --color-4: #FF6347;
  --color-5: #32CD32;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #783949;
  --color-muted: #816268;
  --color-primary: #E1186A;
  --color-on-primary: #FFFFFF;
  --color-accent: #008808;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C080D;
    --color-surface: #271217;
    --color-border: #3F252B;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #FF4081;
    --color-on-primary: #1C080D;
    --color-accent: #32CD32;
    --color-on-accent: #1C080D;
  }
}

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 #FFD700adjusted for contrast · from #FF4081
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FF4081adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryadjusted for contrast · from #FF4081from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #32CD32from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.89:1AAA pass 4.5:1
Text on surface7.27:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.63:1AA pass 4.5:1
Label on accent4.64:1AA pass 4.5:1
Primary on background4.31:1AA Large pass 3:1
Accent on background4.33:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.76:1AAA pass 4.5:1
Text on surface12.65:1AAA pass 4.5:1
Muted text on background5.00:1AA pass 4.5:1
Label on primary5.78:1AA pass 4.5:1
Label on accent9.10:1AAA pass 4.5:1
Primary on background5.78:1AA pass 3:1
Accent on background9.10: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#FF4081 (Text 1)#40E0D0 (Text 2)#FFD700 (Text 3)#FF6347 (Text 4)#32CD32 (Text 5)
#FF4081Same color2.03—2.38—1.13—1.57—
#40E0D02.03—Same color1.17—1.79—1.29—
#FFD7002.38—1.17—Same color2.10—1.51—
#FF63471.13—1.79—2.10—Same color1.39—
#32CD321.57—1.29—1.51—1.39—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF4081#40E0D0#FFD700#FF6347#32CD32

Variations

About Retro Rainbow

Five colors make up Retro Rainbow, a warm multi-color set: #FF4081, #40E0D0, #FFD700, #FF6347, #32CD32. Vivid pink #FF4081 and light teal #40E0D0 sit on nearly opposite sides of the wheel (179° apart), a complementary pairing that makes accents pop. From #FF4081 to #FFD700 the colors share a similar light value (lightness 67%–89%), which suits fills and illustration more than body text. Average chroma is 0.193, high for a palette, so the colors feel saturated and energetic; the most saturated color is #32CD32. As a UI theme it uses #E1186A for primary actions and #008808 as the accent; dark mode sits on #1C080D with #E4DAB5 text (13.8:1). With #FF4081 leading, good fits include infographics, educational content and illustration.

Retro Rainbow color palette: #FF4081, #40E0D0, #FFD700, #FF6347, #32CD32
Share image for Retro Rainbow

Gradients in similar colors