Primary Spectrum

Export

Code

/* Primary Spectrum — colorset.net */
:root {
  --color-1: #FF0000;
  --color-2: #FF8C00;
  --color-3: #FFD700;
  --color-4: #32CD32;
  --color-5: #4169E1;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #394D81;
  --color-muted: #616B83;
  --color-primary: #EA0000;
  --color-on-primary: #FFFFFF;
  --color-accent: #4169E1;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #12192A;
    --color-border: #242D42;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #EA0000;
    --color-on-primary: #FFFFFF;
    --color-accent: #4169E1;
    --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
Backgroundadjusted for contrast · from #FFD700adjusted for contrast · from #4169E1
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4169E1adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryadjusted for contrast · from #FF0000adjusted for contrast · from #FF0000
On primaryderivedderived
Accentfrom palette · color 5from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.07:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent4.85:1AA pass 4.5:1
Primary on background4.35:1AA Large pass 3:1
Accent on background4.52:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.65:1AAA pass 4.5:1
Text on surface12.51:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent4.85:1AA pass 4.5:1
Primary on background4.10:1AA Large pass 3:1
Accent on background3.94: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#FF0000 (Text 1)#FF8C00 (Text 2)#FFD700 (Text 3)#32CD32 (Text 4)#4169E1 (Text 5)
#FF0000Same color1.71—2.85—1.89—1.21—
#FF8C001.71—Same color1.66—1.10—2.08—
#FFD7002.85—1.66—Same color1.51—3.46AA Large
#32CD321.89—1.10—1.51—Same color2.29—
#4169E11.21—2.08—3.46AA Large2.29—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF0000#FF8C00#FFD700#32CD32#4169E1

Variations

About Primary Spectrum

Five colors make up Primary Spectrum, a balanced multi-color set: #FF0000, #FF8C00, #FFD700, #32CD32, #4169E1. Pale yellow #FFD700 and vivid blue #4169E1 sit on nearly opposite sides of the wheel (171° apart), a complementary pairing that makes accents pop. With lightness between 56% and 89% and #32CD32 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.207, high for a palette, so the colors feel saturated and energetic; the most saturated color is #FF0000. As a UI theme it uses #EA0000 for primary actions and #4169E1 as the accent; dark mode sits on #080F1F with #E4DAB5 text (13.7:1). Its vivid and neon character, led by #FF0000, suits brand systems with many sub-brands, educational content and infographics.

Primary Spectrum color palette: #FF0000, #FF8C00, #FFD700, #32CD32, #4169E1
Share image for Primary Spectrum

Gradients in similar colors