Charcoal Night

Export

Code

/* Charcoal Night — colorset.net */
:root {
  --color-1: #000000;
  --color-2: #121212;
  --color-3: #1E1E1E;
  --color-4: #2E2E2E;
  --color-5: #424242;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #000000;
  --color-muted: #4A4A4A;
  --color-primary: #424242;
  --color-on-primary: #FFFFFF;
  --color-accent: #121212;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-surface: #000000;
    --color-border: #090707;
    --color-text: #959595;
    --color-muted: #777777;
    --color-primary: #5A5A5A;
    --color-on-primary: #FFFFFF;
    --color-accent: #8B8B8B;
    --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 #424242from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #424242
Muted textderivedderived
Primaryfrom palette · color 5adjusted for contrast · from #424242
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #424242
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 primary10.05:1AAA pass 4.5:1
Label on accent18.73:1AAA pass 4.5:1
Primary on background9.38:1AAA pass 3:1
Accent on background17.49:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.01:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background4.69:1AA pass 4.5:1
Label on primary6.90:1AA pass 4.5:1
Label on accent6.16:1AA pass 4.5:1
Primary on background3.04:1AA Large pass 3:1
Accent on background6.16: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)#121212 (Text 2)#1E1E1E (Text 3)#2E2E2E (Text 4)#424242 (Text 5)
#000000Same color1.12—1.26—1.55—2.09—
#1212121.12—Same color1.12—1.38—1.86—
#1E1E1E1.26—1.12—Same color1.23—1.66—
#2E2E2E1.55—1.38—1.23—Same color1.35—
#4242422.09—1.86—1.66—1.35—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#000000#121212#1E1E1E#2E2E2E#424242

Variations

About Charcoal Night

Nearly all of the color weight in Charcoal Night sits in neutral, which makes it a balanced palette anchored by charcoal #1E1E1E. There is no real hue here; neutrals between #000000 and #424242 do all the work with value contrast. Lightness spans 0% (#000000) to 38% (#424242), a moderate range; text roles may need slight darkening for full contrast. Chroma stays at zero across the set; even #1E1E1E in the middle is a true gray. In light mode #F7F7F7 becomes the background with #000000 text at 19.6:1, and #424242 takes the primary role. Its dark and monochrome character, led by #424242, suits documentation sites, architecture studios and dark-mode dashboards.

These colors are almost the same as Obsidian Shard.

Charcoal Night color palette: #000000, #121212, #1E1E1E, #2E2E2E, #424242
Share image for Charcoal Night

Gradients in similar colors