#5F1021#5F1021
#5F1021 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 14.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1021 |
|---|---|
| RGB | rgb(95, 16, 33) |
| HSL | hsl(347, 71%, 22%) |
| HSV | hsv(347, 83%, 37%) |
| CMYK | cmyk(0%, 83.2%, 65.3%, 62.7%) |
| CIE-LAB | lab(19.70, 35.70, 11.28) |
| CIE-LCH | lch(19.70, 37.44, 17.54°) |
| OKLab | oklab(32.17% 0.1072 0.0276) |
| OKLCH | oklch(32.17% 0.111 14.4) |
| XYZ | xyz(5.1797, 2.9141, 1.7283) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 2.34
Burgundy (survey)
#610023
ΔE00 2.99
Claret
#680018
ΔE00 4.11
Bordeaux
#7B002C
ΔE00 5.82
Wine Red
#7B0323
ΔE00 5.93
Wine
#722F37
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1021 #105F4E
analogous
#5F1049 #5F1021 #5F2710
triadic
#5F1021 #215F10 #10215F
tetradic
#5F1021 #495F10 #105F4E #27105F
square
#5F1021 #495F10 #105F4E #27105F
split-complementary
#5F1021 #105F27 #10495F
monochromatic
#1A0409 #2B070F #5F1021 #931933 #C82245
Accessibility & contrast
On white
13.27
#5F1021 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1021 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1021
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1021 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1021 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262521
Deuteranopia (green-blind)
#3B361F
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1021; /* rgb */ color: rgb(95, 16, 33); /* oklch */ color: oklch(32.2% 0.111 14.4);
Tailwind
colors: {
custom: {
50: '#92575b',
500: '#5f1021',
950: '#000000',
},
}SCSS
$custom: #5f1021; $custom-light: #92575b; $custom-dark: #000000;
JSON
{
"hex": "#5f1021",
"rgb": {
"r": 95,
"g": 16,
"b": 33
},
"hsl": {
"h": 347.089,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.32175,
"c": 0.1107,
"h": 14.4
},
"luminance": 0.02913
}Semantic roles & 50–950 ramp
primary
#5F1021
secondary
#339882
accent
#EEC73A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879