Export

Code

/* Pitch Black — colorset.net */
:root {
  --color-1: #000000;
  --color-2: #0A0A0A;
  --color-3: #141414;
  --color-4: #1F1F1F;
  --color-5: #2A2A2A;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #000000;
  --color-muted: #4A4A4A;
  --color-primary: #2A2A2A;
  --color-on-primary: #FFFFFF;
  --color-accent: #0A0A0A;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #979797;
    --color-muted: #757575;
    --color-primary: #5C5C5C;
    --color-on-primary: #FFFFFF;
    --color-accent: #8D8D8D;
    --color-on-accent: #000000;
  }
}

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 #2A2A2Afrom palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #2A2A2A
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #2A2A2A
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #2A2A2A
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background19.60:1AAA pass 4.5:1
Text on surface17.94:1AAA pass 4.5:1
Muted text on background8.27:1AAA pass 4.5:1
Label on primary14.35:1AAA pass 4.5:1
Label on accent19.80:1AAA pass 4.5:1
Primary on background13.40:1AAA pass 3:1
Accent on background18.48:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.19:1AAA pass 4.5:1
Text on surface7.19:1AAA pass 4.5:1
Muted text on background4.56:1AA pass 4.5:1
Label on primary6.69:1AA pass 4.5:1
Label on accent6.33:1AA pass 4.5:1
Primary on background3.14:1AA Large pass 3:1
Accent on background6.33:1AA 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)#0A0A0A (Text 2)#141414 (Text 3)#1F1F1F (Text 4)#2A2A2A (Text 5)
#000000Same color1.06—1.14—1.27—1.46—
#0A0A0A1.06—Same color1.07—1.20—1.38—
#1414141.14—1.07—Same color1.12—1.28—
#1F1F1F1.27—1.20—1.12—Same color1.15—
#2A2A2A1.46—1.38—1.28—1.15—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000000#0A0A0A#141414#1F1F1F#2A2A2A

Variations

About Pitch Black

Five colors make up Pitch Black, a balanced neutral set: #000000, #0A0A0A, #141414, #1F1F1F, #2A2A2A. Every color is a neutral, from #2A2A2A down to #000000, so the palette works through light and shade alone. From #000000 to #2A2A2A the colors share a similar dark value (lightness 0%–29%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #141414 and the rest read as pure grays. As a UI theme it uses #2A2A2A for primary actions and #0A0A0A as the accent; dark mode sits on #000000 with #979797 text (7.2:1). Try it for film and media, luxury products and gaming sites, letting charcoal #2A2A2A carry the key actions.

Pitch Black color palette: #000000, #0A0A0A, #141414, #1F1F1F, #2A2A2A
Share image for Pitch Black

Gradients in similar colors