#18181C#18181C
#18181C is a very dark, near-neutral grey. Relative luminance 0.009; OKLCH L 21.1% C 0.008 H 285.7°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).
Color values
| HEX | #18181C |
|---|---|
| RGB | rgb(24, 24, 28) |
| HSL | hsl(240, 8%, 10%) |
| HSV | hsv(240, 14%, 11%) |
| CMYK | cmyk(14.3%, 14.3%, 0%, 89%) |
| CIE-LAB | lab(8.41, 1.09, -2.80) |
| CIE-LCH | lch(8.41, 3.00, 291.24°) |
| OKLab | oklab(21.08% 0.0021 -0.0075) |
| OKLCH | oklch(21.08% 0.008 285.7) |
| XYZ | xyz(0.9129, 0.9313, 1.2300) |
| Luminance | 0.0093 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Almost Black
#070D0D
ΔE00 5.36
Black
#000000
ΔE00 5.83
Dark
#1B2431
ΔE00 6.75
Gunmetal
#2A3439
ΔE00 9.98
Dark Grey
#363737
ΔE00 10.19
Onyx
#353839
ΔE00 10.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18181C #1C1C18
analogous
#181A1C #18181C #1A181C
triadic
#18181C #1C1818 #181C18
tetradic
#18181C #1C181A #1C1C18 #181C1A
square
#18181C #1C181A #1C1C18 #181C1A
split-complementary
#18181C #1C1A18 #1A1C18
monochromatic
#0E0E10 #0E0E10 #18181C #34343D #50505E
Accessibility & contrast
On white
17.70
#18181C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#18181C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18181C
17.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18181C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18181C | 1.00 | 17.70 | 1.19 | 17.70 |
| #FFFFFF | 17.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17181C
Deuteranopia (green-blind)
#17181C
Tritanopia (blue-blind)
#171919
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #18181c; /* rgb */ color: rgb(24, 24, 28); /* oklch */ color: oklch(21.1% 0.008 285.7);
Tailwind
colors: {
custom: {
50: '#545457',
500: '#18181c',
950: '#000000',
},
}SCSS
$custom: #18181c; $custom-light: #545457; $custom-dark: #000000;
JSON
{
"hex": "#18181c",
"rgb": {
"r": 24,
"g": 24,
"b": 28
},
"hsl": {
"h": 240,
"s": 7.692,
"l": 10.196
},
"oklch": {
"l": 0.21079,
"c": 0.00782,
"h": 285.7
},
"luminance": 0.00931
}Semantic roles & 50–950 ramp
primary
#18181C
secondary
#4C4C44
accent
#B177B1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020203
muted
#787878