#5E2121#5E2121
#5E2121 is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.090 H 23.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2121 |
|---|---|
| RGB | rgb(94, 33, 33) |
| HSL | hsl(0, 48%, 25%) |
| HSV | hsv(0, 65%, 37%) |
| CMYK | cmyk(0%, 64.9%, 64.9%, 63.1%) |
| CIE-LAB | lab(22.22, 27.87, 14.55) |
| CIE-LCH | lch(22.22, 31.44, 27.57°) |
| OKLab | oklab(34.02% 0.0824 0.0352) |
| OKLCH | oklch(34.02% 0.09 23.1) |
| XYZ | xyz(5.4350, 3.5779, 1.8430) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 5.81
Wine
#722F37
ΔE00 6.32
Rosewood
#65000B
ΔE00 6.51
Dried Blood
#4B0101
ΔE00 7.04
Maroon (survey)
#650021
ΔE00 7.13
Mahogany
#4A0100
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2121 #215E5E
analogous
#5E2140 #5E2121 #5E4021
triadic
#5E2121 #215E21 #21215E
tetradic
#5E2121 #405E21 #215E5E #40215E
square
#5E2121 #405E21 #215E5E #40215E
split-complementary
#5E2121 #215E40 #21405E
monochromatic
#170808 #311111 #5E2121 #8B3131 #B94141
Accessibility & contrast
On white
12.24
#5E2121 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#5E2121 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2121
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2121 | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302D21
Deuteranopia (green-blind)
#403A1F
Tritanopia (blue-blind)
#671522
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5e2121; /* rgb */ color: rgb(94, 33, 33); /* oklch */ color: oklch(34.0% 0.090 23.1);
Tailwind
colors: {
custom: {
50: '#905f5c',
500: '#5e2121',
950: '#000000',
},
}SCSS
$custom: #5e2121; $custom-light: #905f5c; $custom-dark: #000000;
JSON
{
"hex": "#5e2121",
"rgb": {
"r": 94,
"g": 33,
"b": 33
},
"hsl": {
"h": 0,
"s": 48.031,
"l": 24.902
},
"oklch": {
"l": 0.34023,
"c": 0.08959,
"h": 23.1
},
"luminance": 0.03577
}Semantic roles & 50–950 ramp
primary
#5E2121
secondary
#499292
accent
#D8D850
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0504
muted
#7E7979