Charred Graphite

Export

Code

/* Charred Graphite — colorset.net */
:root {
  --color-1: #1C1C1C;
  --color-2: #2E2E2E;
  --color-3: #404040;
  --color-4: #525252;
  --color-5: #646464;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #1C1C1C;
  --color-muted: #696969;
  --color-primary: #646464;
  --color-on-primary: #FFFFFF;
  --color-accent: #2E2E2E;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C1C1C;
    --color-surface: #272727;
    --color-border: #3F3B3C;
    --color-text: #B2B2B2;
    --color-muted: #8E8E8E;
    --color-primary: #727272;
    --color-on-primary: #FFFFFF;
    --color-accent: #A5A5A5;
    --color-on-accent: #1C1C1C;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.91:1AAA pass 4.5:1
Text on surface14.56:1AAA pass 4.5:1
Muted text on background5.12:1AA pass 4.5:1
Label on primary5.92:1AA pass 4.5:1
Label on accent13.58:1AAA pass 4.5:1
Primary on background5.52:1AA pass 3:1
Accent on background12.68:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.04:1AAA pass 4.5:1
Text on surface7.05:1AAA pass 4.5:1
Muted text on background5.20:1AA pass 4.5:1
Label on primary4.81:1AA pass 4.5:1
Label on accent6.92:1AA pass 4.5:1
Primary on background3.54:1AA Large pass 3:1
Accent on background6.92: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#1C1C1C (Text 1)#2E2E2E (Text 2)#404040 (Text 3)#525252 (Text 4)#646464 (Text 5)
#1C1C1CSame color1.25—1.64—2.18—2.88—
#2E2E2E1.25—Same color1.31—1.74—2.29—
#4040401.64—1.31—Same color1.33—1.75—
#5252522.18—1.74—1.33—Same color1.32—
#6464642.88—2.29—1.75—1.32—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1C1C1C#2E2E2E#404040#525252#646464

Variations

About Charred Graphite

Nearly all of the color weight in Charred Graphite sits in neutral, which makes it a balanced palette anchored by slate #404040. There is no real hue here; neutrals between #1C1C1C and #646464 do all the work with value contrast. All five colors stay in a narrow dark band (23% to 50% lightness, #1C1C1C to #646464), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #404040 in the middle is a true gray. In light mode #F7F7F7 becomes the background with #1C1C1C text at 15.9:1, and #646464 takes the primary role. With #646464 leading, good fits include documentation sites, architecture studios and minimal portfolios.

Charred Graphite color palette: #1C1C1C, #2E2E2E, #404040, #525252, #646464
Share image for Charred Graphite

Gradients in similar colors