#282121#282121
#282121 is a dark, near-neutral red. Relative luminance 0.016; OKLCH L 25.6% C 0.011 H 17.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).
Color values
| HEX | #282121 |
|---|---|
| RGB | rgb(40, 33, 33) |
| HSL | hsl(0, 10%, 14%) |
| HSV | hsv(0, 18%, 16%) |
| CMYK | cmyk(0%, 17.5%, 17.5%, 84.3%) |
| CIE-LAB | lab(13.52, 3.33, 1.24) |
| CIE-LCH | lch(13.52, 3.55, 20.34°) |
| OKLab | oklab(25.58% 0.0102 0.0033) |
| OKLCH | oklch(25.58% 0.011 17.9) |
| XYZ | xyz(1.6934, 1.6487, 1.6676) |
| Luminance | 0.0165 (WCAG relative) |
| Temperature | neutral |
| Family | red |
Closest named colors
Dark Grey
#363737
ΔE00 8.35
Onyx
#353839
ΔE00 9.39
Black
#000000
ΔE00 9.43
Very Dark Brown
#1D0200
ΔE00 9.60
Almost Black
#070D0D
ΔE00 9.63
Charcoal (survey)
#343837
ΔE00 10.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#282121 #212828
analogous
#282125 #282121 #282521
triadic
#282121 #212821 #212128
tetradic
#282121 #252821 #212828 #252128
square
#282121 #252821 #212828 #252128
split-complementary
#282121 #212825 #212528
monochromatic
#110E0E #110E0E #282121 #4A3D3D #6B5858
Accessibility & contrast
On white
15.79
#282121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.33
#282121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #282121
15.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##282121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##282121 | 1.00 | 15.79 | 1.33 | 15.79 |
| #FFFFFF | 15.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222221
Deuteranopia (green-blind)
#242321
Tritanopia (blue-blind)
#2A2021
Achromatopsia (no color)
#232323
Design tokens & code
CSS
--color: #282121; /* rgb */ color: rgb(40, 33, 33); /* oklch */ color: oklch(25.6% 0.011 17.9);
Tailwind
colors: {
custom: {
50: '#625c5c',
500: '#282121',
950: '#000000',
},
}SCSS
$custom: #282121; $custom-light: #625c5c; $custom-dark: #000000;
JSON
{
"hex": "#282121",
"rgb": {
"r": 40,
"g": 33,
"b": 33
},
"hsl": {
"h": 0,
"s": 9.589,
"l": 14.314
},
"oklch": {
"l": 0.25578,
"c": 0.01074,
"h": 17.9
},
"luminance": 0.01649
}Semantic roles & 50–950 ramp
primary
#282121
secondary
#4D5858
accent
#B3B375
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979