Export

Code

/* Underground — colorset.net */
:root {
  --color-1: #000000;
  --color-2: #FF0000;
  --color-3: #FFFFFF;
  --color-4: #808080;
  --color-5: #C0C0C0;

  --color-bg: #FFFFFF;
  --color-surface: #F6F6F6;
  --color-border: #E0DCDD;
  --color-text: #000000;
  --color-muted: #4D4D4D;
  --color-primary: #EA0000;
  --color-on-primary: #FFFFFF;
  --color-accent: #8C8C8C;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #FFFFFF;
    --color-muted: #7A7A7A;
    --color-primary: #EA0000;
    --color-on-primary: #FFFFFF;
    --color-accent: #5B5B5B;
    --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 3from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 3
Muted textderivedderived
Primaryadjusted for contrast · from #FF0000adjusted for contrast · from #FF0000
On primaryderivedderived
Accentadjusted for contrast · from #808080adjusted for contrast · from #808080
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background21.00:1AAA pass 4.5:1
Text on surface19.43:1AAA pass 4.5:1
Muted text on background8.45:1AAA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent6.25:1AA pass 4.5:1
Primary on background4.67:1AA pass 3:1
Accent on background3.36:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background21.00:1AAA pass 4.5:1
Text on surface21.00:1AAA pass 4.5:1
Muted text on background4.89:1AA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent6.79:1AA pass 4.5:1
Primary on background4.50:1AA pass 3:1
Accent on background3.09: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#000000 (Text 1)#FF0000 (Text 2)#FFFFFF (Text 3)#808080 (Text 4)#C0C0C0 (Text 5)
#000000Same color5.25AA21.00AAA5.32AA11.54AAA
#FF00005.25AASame color4.00AA Large1.01—2.20—
#FFFFFF21.00AAA4.00AA LargeSame color3.95AA Large1.82—
#8080805.32AA1.01—3.95AA LargeSame color2.17—
#C0C0C011.54AAA2.20—1.82—2.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000000#FF0000#FFFFFF#808080#C0C0C0

Variations

About Underground

Underground is a balanced red-and-neutral palette of 5 colors that runs from white #FFFFFF to near-black #000000. Everything except vivid red #FF0000 is close to neutral, which leaves that one color to carry the brand. Lightness runs from 0% to 100% (OKLCH), with #FF0000 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.052, peaking at 0.258 in #FF0000); the colors feel soft and muted. As a UI theme it uses #EA0000 for primary actions and #8C8C8C as the accent; dark mode sits on #000000 with #FFFFFF text (21.0:1). Try it for focused single-product sites, marketing pages and brand systems with many sub-brands, letting vivid red #FF0000 carry the key actions.

Underground color palette: #000000, #FF0000, #FFFFFF, #808080, #C0C0C0
Share image for Underground

Gradients in similar colors