Export

Code

/* Coal Black — colorset.net */
:root {
  --color-1: #0E0E0E;
  --color-2: #1C1C1C;
  --color-3: #2A2A2A;
  --color-4: #383838;
  --color-5: #464646;

  --color-bg: #F7F7F7;
  --color-surface: #EDEDED;
  --color-border: #D8D3D5;
  --color-text: #0E0E0E;
  --color-muted: #646464;
  --color-primary: #464646;
  --color-on-primary: #FFFFFF;
  --color-accent: #1C1C1C;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0E0E0E;
    --color-surface: #181818;
    --color-border: #2F2B2C;
    --color-text: #A3A3A3;
    --color-muted: #818181;
    --color-primary: #646464;
    --color-on-primary: #FFFFFF;
    --color-accent: #969696;
    --color-on-accent: #0E0E0E;
  }
}

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

Contrast

Light mode
PairSampleRatioWCAG
Text on background18.02:1AAA pass 4.5:1
Text on surface16.49:1AAA pass 4.5:1
Muted text on background5.52:1AA pass 4.5:1
Label on primary9.44:1AAA pass 4.5:1
Label on accent17.04:1AAA pass 4.5:1
Primary on background8.81:1AAA pass 3:1
Accent on background15.91:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.65:1AAA pass 4.5:1
Text on surface7.04:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary5.92:1AA pass 4.5:1
Label on accent6.53:1AA pass 4.5:1
Primary on background3.26:1AA Large pass 3:1
Accent on background6.53: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#0E0E0E (Text 1)#1C1C1C (Text 2)#2A2A2A (Text 3)#383838 (Text 4)#464646 (Text 5)
#0E0E0ESame color1.13—1.34—1.65—2.05—
#1C1C1C1.13—Same color1.19—1.45—1.81—
#2A2A2A1.34—1.19—Same color1.22—1.52—
#3838381.65—1.45—1.22—Same color1.24—
#4646462.05—1.81—1.52—1.24—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0E0E0E#1C1C1C#2A2A2A#383838#464646

Variations

About Coal Black

Coal Black is a balanced neutral palette of 5 colors that runs from slate #464646 to near-black #0E0E0E. There is no real hue here; neutrals between #0E0E0E and #464646 do all the work with value contrast. All five colors stay in a narrow dark band (16% to 39% lightness, #0E0E0E to #464646), so text and background roles are adjusted for contrast. Chroma stays at zero across the set; even #2A2A2A in the middle is a true gray. Text contrast reaches 18.0:1 in light mode and 7.7:1 in dark mode, with #464646 as primary and #1C1C1C as accent. Try it for luxury products, film and media and dark-mode dashboards, letting slate #464646 carry the key actions.

Coal Black color palette: #0E0E0E, #1C1C1C, #2A2A2A, #383838, #464646
Share image for Coal Black

Gradients in similar colors