#5E171A#5E171A
#5E171A is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.5% C 0.102 H 22.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5E171A |
|---|---|
| RGB | rgb(94, 23, 26) |
| HSL | hsl(357, 61%, 23%) |
| HSV | hsv(357, 76%, 37%) |
| CMYK | cmyk(0%, 75.5%, 72.3%, 63.1%) |
| CIE-LAB | lab(20.31, 32.18, 16.90) |
| CIE-LCH | lch(20.31, 36.35, 27.70°) |
| OKLab | oklab(32.55% 0.0945 0.0396) |
| OKLCH | oklch(32.55% 0.102 22.7) |
| XYZ | xyz(5.1095, 3.0678, 1.3002) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.88
Rosewood
#65000B
ΔE00 4.43
Dried Blood
#4B0101
ΔE00 5.29
Mahogany
#4A0100
ΔE00 5.48
Maroon (survey)
#650021
ΔE00 6.13
Wine Red
#7B0323
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E171A #175E5B
analogous
#5E173D #5E171A #5E3717
triadic
#5E171A #1A5E17 #171A5E
tetradic
#5E171A #3D5E17 #175E5B #37175E
square
#5E171A #3D5E17 #175E5B #37175E
split-complementary
#5E171A #175E37 #173D5E
monochromatic
#190607 #2D0B0C #5E171A #8F2328 #C02F35
Accessibility & contrast
On white
13.02
#5E171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5E171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E171A
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E171A | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#680219
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5e171a; /* rgb */ color: rgb(94, 23, 26); /* oklch */ color: oklch(32.5% 0.102 22.7);
Tailwind
colors: {
custom: {
50: '#915a56',
500: '#5e171a',
950: '#000000',
},
}SCSS
$custom: #5e171a; $custom-light: #915a56; $custom-dark: #000000;
JSON
{
"hex": "#5e171a",
"rgb": {
"r": 94,
"g": 23,
"b": 26
},
"hsl": {
"h": 357.465,
"s": 60.684,
"l": 22.941
},
"oklch": {
"l": 0.32549,
"c": 0.10246,
"h": 22.7
},
"luminance": 0.03067
}Semantic roles & 50–950 ramp
primary
#5E171A
secondary
#3C9591
accent
#E4DD44
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978