Carbon
Carbon is a very dark neutral gray color with the hex code #333333 (hue 0°, saturation 0%, lightness 20%).
- HEX
#333333 - RGB
rgb(51 51 51) - HSL
hsl(0 0% 20%) - OKLCH
oklch(32.1% 0.000 0)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Carbon | #333333 | 51, 51, 51 | 0°, 0%, 20% | 0, 0, 0, 80 | 32.1% 0.000 0 |
Contrast with white text 12.63:1, with black text 1.66:1 — use white text on Carbon.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Carbon
Move the sliders to make Carbon lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#333333 - RGB
rgb(51 51 51) - HSL
hsl(0 0% 20%)
Variations of Carbon
Text on Carbon
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Carbon with color blindness
How Carbon appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Carbon
Six color schemes built on Carbon with classic harmony rules. The complementary scheme pairs it with Theatre Dress (#274242), the color opposite it on the color wheel.
- Carbon Complementary Color Scheme#333333#784848#274242#0F1012#4A7D82
- Carbon Analogous Color Scheme#462343#412533#333333#413628#454129
- Carbon Triadic Color Scheme#333333#274234#2D2541#814D50#051009
- Carbon Split-complementary Color Scheme#333333#274234#243640#130D0D#416858
- Carbon Tetradic Color Scheme#333333#37412A#274242#2D2541#814D50
- Carbon Monochromatic Color Scheme#0F0F0F#0F0F0F#333333#585858#808080
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Carbon (relative luminance 0.068 vs 0.033) and more saturated. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Carbon (relative luminance 0.021 vs 0.033) and more saturated. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Carbon (relative luminance 0.066 vs 0.033) and more saturated. - Maroon (
maroon): Maroon (#800000) is lighter than Carbon (relative luminance 0.046 vs 0.033) and more saturated.
Similar dark gray colors
- After Dark#3C3535
- After Midnight#38393F
- All Nighter#455454
- Ancient Pine#444B43
- Armadillo#484A46
- Arsenic#3B444B
- Artist’s Charcoal#37393E
- Bark#5F5854
- Black Forest#5E6354
- Black Magic#4F4554
- Black Olive#3B3C36
- Black Orchid#525463
- Black Panther#424242
- Black Truffle#463D3E
- Blackwater#545663
- Blindfolded#5A5E61
- Catch of the Day#6C685E
- Caveman#625C58
Questions
What is the hex code for Carbon?
#333333 — RGB 51, 51, 51, HSL 0°, 0%, 20%.
Is Carbon a warm or cool color?
Warm — its hue sits at 0° on the color wheel.