#5E171B#5E171B
#5E171B is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.102 H 21.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5E171B |
|---|---|
| RGB | rgb(94, 23, 27) |
| HSL | hsl(357, 61%, 23%) |
| HSV | hsv(357, 76%, 37%) |
| CMYK | cmyk(0%, 75.5%, 71.3%, 63.1%) |
| CIE-LAB | lab(20.33, 32.24, 16.24) |
| CIE-LCH | lch(20.33, 36.10, 26.73°) |
| OKLab | oklab(32.57% 0.095 0.0383) |
| OKLCH | oklch(32.57% 0.102 21.9) |
| XYZ | xyz(5.1209, 3.0724, 1.3601) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.77
Rosewood
#65000B
ΔE00 4.71
Dried Blood
#4B0101
ΔE00 5.44
Mahogany
#4A0100
ΔE00 5.63
Maroon (survey)
#650021
ΔE00 5.76
Wine Red
#7B0323
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E171B #175E5A
analogous
#5E173E #5E171B #5E3617
triadic
#5E171B #1B5E17 #171B5E
tetradic
#5E171B #3E5E17 #175E5A #36175E
square
#5E171B #3E5E17 #175E5A #36175E
split-complementary
#5E171B #175E36 #173E5E
monochromatic
#190607 #2D0B0D #5E171B #8F2329 #C02F37
Accessibility & contrast
On white
13.01
#5E171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5E171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E171B
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E171B | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B271B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#680319
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5e171b; /* rgb */ color: rgb(94, 23, 27); /* oklch */ color: oklch(32.6% 0.102 21.9);
Tailwind
colors: {
custom: {
50: '#915a57',
500: '#5e171b',
950: '#000000',
},
}SCSS
$custom: #5e171b; $custom-light: #915a57; $custom-dark: #000000;
JSON
{
"hex": "#5e171b",
"rgb": {
"r": 94,
"g": 23,
"b": 27
},
"hsl": {
"h": 356.62,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.32568,
"c": 0.10236,
"h": 21.9
},
"luminance": 0.03072
}Semantic roles & 50–950 ramp
primary
#5E171B
secondary
#3C9590
accent
#E4DB44
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978