Charcoal Dark

Export

Code

/* Charcoal Dark — colorset.net */
:root {
  --color-1: #2F2F2F;
  --color-2: #454545;
  --color-3: #5B5B5B;
  --color-4: #717171;
  --color-5: #878787;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #2F2F2F;
  --color-muted: #6B6B6B;
  --color-primary: #717171;
  --color-on-primary: #FFFFFF;
  --color-accent: #454545;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F0F0F;
    --color-surface: #191919;
    --color-border: #302D2E;
    --color-text: #A5A5A5;
    --color-muted: #838383;
    --color-primary: #717171;
    --color-on-primary: #FFFFFF;
    --color-accent: #878787;
    --color-on-accent: #0F0F0F;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background12.50:1AAA pass 4.5:1
Text on surface11.44:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.88:1AA pass 4.5:1
Label on accent9.59:1AAA pass 4.5:1
Primary on background4.56:1AA pass 3:1
Accent on background8.95:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.78:1AAA pass 4.5:1
Text on surface7.14:1AAA pass 4.5:1
Muted text on background5.06:1AA pass 4.5:1
Label on primary4.88:1AA pass 4.5:1
Label on accent5.34:1AA pass 4.5:1
Primary on background3.93:1AA Large pass 3:1
Accent on background5.34: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#2F2F2F (Text 1)#454545 (Text 2)#5B5B5B (Text 3)#717171 (Text 4)#878787 (Text 5)
#2F2F2FSame color1.40—1.97—2.74—3.73AA Large
#4545451.40—Same color1.41—1.96—2.67—
#5B5B5B1.97—1.41—Same color1.39—1.89—
#7171712.74—1.96—1.39—Same color1.36—
#8787873.73AA Large2.67—1.89—1.36—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2F2F2F#454545#5B5B5B#717171#878787

Variations

About Charcoal Dark

Charcoal Dark brings together four slates and a gray (#2F2F2F, #454545, #5B5B5B, #717171, #878787) in a balanced, neutral-led scheme. Every color is a neutral, from #878787 down to #2F2F2F, so the palette works through light and shade alone. With lightness between 31% and 62% and #5B5B5B near the middle, there is enough spread for layered surfaces but not maximum text contrast. There is effectively no chroma in any of the colors, so #5B5B5B and the rest read as pure grays. Text contrast reaches 12.5:1 in light mode and 7.8:1 in dark mode, with #717171 as primary and #454545 as accent. Its monochrome character, led by #717171, suits editorial layouts, minimal portfolios and documentation sites.

Charcoal Dark color palette: #2F2F2F, #454545, #5B5B5B, #717171, #878787
Share image for Charcoal Dark

Gradients in similar colors