#5B171E#5B171E
#5B171E is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.099 H 19.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5B171E |
|---|---|
| RGB | rgb(91, 23, 30) |
| HSL | hsl(354, 60%, 22%) |
| HSV | hsv(354, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 67%, 64.3%) |
| CIE-LAB | lab(19.77, 31.36, 13.32) |
| CIE-LCH | lch(19.77, 34.07, 23.01°) |
| OKLab | oklab(32.05% 0.0932 0.0321) |
| OKLCH | oklch(32.05% 0.099 19) |
| XYZ | xyz(4.8556, 2.9314, 1.5382) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.30
Maroon (survey)
#650021
ΔE00 4.78
Burgundy (survey)
#610023
ΔE00 5.56
Dried Blood
#4B0101
ΔE00 5.97
Mahogany
#4A0100
ΔE00 6.14
Rosewood
#65000B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B171E #175B54
analogous
#5B1740 #5B171E #5B3217
triadic
#5B171E #1E5B17 #171E5B
tetradic
#5B171E #405B17 #175B54 #32175B
square
#5B171E #405B17 #175B54 #32175B
split-complementary
#5B171E #175B32 #17405B
monochromatic
#180608 #2A0B0E #5B171E #8C232E #BD303E
Accessibility & contrast
On white
13.24
#5B171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B171E
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B171E | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29271E
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#64061A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b171e; /* rgb */ color: rgb(91, 23, 30); /* oklch */ color: oklch(32.1% 0.099 19.0);
Tailwind
colors: {
custom: {
50: '#8f5959',
500: '#5b171e',
950: '#000000',
},
}SCSS
$custom: #5b171e; $custom-light: #8f5959; $custom-dark: #000000;
JSON
{
"hex": "#5b171e",
"rgb": {
"r": 91,
"g": 23,
"b": 30
},
"hsl": {
"h": 353.824,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32051,
"c": 0.09862,
"h": 19
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#5B171E
secondary
#3C9289
accent
#E3D345
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978