#262121#262121
#262121 is a dark, near-neutral grey. Relative luminance 0.016; OKLCH L 25.3% C 0.008 H 17.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).
Color values
| HEX | #262121 |
|---|---|
| RGB | rgb(38, 33, 33) |
| HSL | hsl(0, 7%, 14%) |
| HSV | hsv(0, 13%, 15%) |
| CMYK | cmyk(0%, 13.2%, 13.2%, 85.1%) |
| CIE-LAB | lab(13.29, 2.37, 0.87) |
| CIE-LCH | lch(13.29, 2.52, 20.05°) |
| OKLab | oklab(25.34% 0.0073 0.0023) |
| OKLCH | oklch(25.34% 0.008 17.7) |
| XYZ | xyz(1.6177, 1.6096, 1.6640) |
| Luminance | 0.0161 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Grey
#363737
ΔE00 7.74
Almost Black
#070D0D
ΔE00 8.58
Onyx
#353839
ΔE00 8.63
Black
#000000
ΔE00 8.75
Charcoal (survey)
#343837
ΔE00 9.18
Dark
#1B2431
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#262121 #212626
analogous
#262124 #262121 #262421
triadic
#262121 #212621 #212126
tetradic
#262121 #242621 #212626 #242126
square
#262121 #242621 #212626 #242126
split-complementary
#262121 #212624 #212426
monochromatic
#100E0E #100E0E #262121 #473D3D #685A5A
Accessibility & contrast
On white
15.89
#262121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#262121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #262121
15.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##262121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##262121 | 1.00 | 15.89 | 1.32 | 15.89 |
| #FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222221
Deuteranopia (green-blind)
#232221
Tritanopia (blue-blind)
#272121
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #262121; /* rgb */ color: rgb(38, 33, 33); /* oklch */ color: oklch(25.3% 0.008 17.7);
Tailwind
colors: {
custom: {
50: '#605c5c',
500: '#262121',
950: '#000000',
},
}SCSS
$custom: #262121; $custom-light: #605c5c; $custom-dark: #000000;
JSON
{
"hex": "#262121",
"rgb": {
"r": 38,
"g": 33,
"b": 33
},
"hsl": {
"h": 0,
"s": 7.042,
"l": 13.922
},
"oklch": {
"l": 0.25339,
"c": 0.00763,
"h": 17.7
},
"luminance": 0.0161
}Semantic roles & 50–950 ramp
primary
#262121
secondary
#4D5555
accent
#B0B078
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979