Export

Code

/* Carbon Black — colorset.net */
:root {
  --color-1: #121212;
  --color-2: #1F1F1F;
  --color-3: #2D2D2D;
  --color-4: #3D3D3D;
  --color-5: #4D4D4D;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #121212;
  --color-muted: #676767;
  --color-primary: #4D4D4D;
  --color-on-primary: #FFFFFF;
  --color-accent: #1F1F1F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121212;
    --color-surface: #1C1C1C;
    --color-border: #333031;
    --color-text: #A8A8A8;
    --color-muted: #868686;
    --color-primary: #696969;
    --color-on-primary: #FFFFFF;
    --color-accent: #9B9B9B;
    --color-on-accent: #121212;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background17.49:1AAA pass 4.5:1
Text on surface16.00:1AAA pass 4.5:1
Muted text on background5.28:1AA pass 4.5:1
Label on primary8.45:1AAA pass 4.5:1
Label on accent16.48:1AAA pass 4.5:1
Primary on background7.89:1AAA pass 3:1
Accent on background15.39:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.88:1AAA pass 4.5:1
Text on surface7.17:1AAA pass 4.5:1
Muted text on background5.15:1AA pass 4.5:1
Label on primary5.49:1AA pass 4.5:1
Label on accent6.74:1AA pass 4.5:1
Primary on background3.41:1AA Large pass 3:1
Accent on background6.74: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#121212 (Text 1)#1F1F1F (Text 2)#2D2D2D (Text 3)#3D3D3D (Text 4)#4D4D4D (Text 5)
#121212Same color1.14—1.36—1.72—2.22—
#1F1F1F1.14—Same color1.20—1.52—1.95—
#2D2D2D1.36—1.20—Same color1.27—1.63—
#3D3D3D1.72—1.52—1.27—Same color1.28—
#4D4D4D2.22—1.95—1.63—1.28—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#121212#1F1F1F#2D2D2D#3D3D3D#4D4D4D

Variations

About Carbon Black

Five colors make up Carbon Black, a balanced neutral set: #121212, #1F1F1F, #2D2D2D, #3D3D3D, #4D4D4D. Every color is a neutral, from #4D4D4D down to #121212, so the palette works through light and shade alone. From #121212 to #4D4D4D the colors share a similar dark value (lightness 18%–42%), which suits fills and illustration more than body text. There is effectively no chroma in any of the colors, so #2D2D2D and the rest read as pure grays. In light mode #F7F7F7 becomes the background with #121212 text at 17.5:1, and #4D4D4D takes the primary role. Its dark and monochrome character, led by #4D4D4D, suits editorial layouts, minimal portfolios and film and media.

Carbon Black color palette: #121212, #1F1F1F, #2D2D2D, #3D3D3D, #4D4D4D
Share image for Carbon Black

Gradients in similar colors