#5B1817#5B1817
#5B1817 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.098 H 25.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1817 |
|---|---|
| RGB | rgb(91, 24, 23) |
| HSL | hsl(1, 60%, 22%) |
| HSV | hsv(1, 75%, 36%) |
| CMYK | cmyk(0%, 73.6%, 74.7%, 64.3%) |
| CIE-LAB | lab(19.80, 30.45, 18.16) |
| CIE-LCH | lch(19.80, 35.45, 30.82°) |
| OKLab | oklab(32.04% 0.0887 0.042) |
| OKLCH | oklch(32.04% 0.098 25.3) |
| XYZ | xyz(4.7962, 2.9400, 1.1254) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.36
Dried Blood
#4B0101
ΔE00 4.81
Mahogany
#4A0100
ΔE00 4.96
Claret
#680018
ΔE00 5.00
Deep Brown
#410200
ΔE00 6.34
Reddy Brown
#6E1005
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1817 #175A5B
analogous
#5B1738 #5B1817 #5B3A17
triadic
#5B1817 #175B18 #18175B
tetradic
#5B1817 #385B17 #175A5B #3A175B
square
#5B1817 #385B17 #175A5B #3A175B
split-complementary
#5B1817 #175B3A #17385B
monochromatic
#180606 #2A0B0B #5B1817 #8C2523 #BD3230
Accessibility & contrast
On white
13.23
#5B1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1817
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1817 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B2716
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#650518
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b1817; /* rgb */ color: rgb(91, 24, 23); /* oklch */ color: oklch(32.0% 0.098 25.3);
Tailwind
colors: {
custom: {
50: '#8f5a54',
500: '#5b1817',
950: '#000000',
},
}SCSS
$custom: #5b1817; $custom-light: #8f5a54; $custom-dark: #000000;
JSON
{
"hex": "#5b1817",
"rgb": {
"r": 91,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.882,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32036,
"c": 0.09818,
"h": 25.3
},
"luminance": 0.02939
}Semantic roles & 50–950 ramp
primary
#5B1817
secondary
#3C9192
accent
#E0E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0D0402
muted
#7E7978