#5B1317#5B1317
#5B1317 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.104 H 22.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1317 |
|---|---|
| RGB | rgb(91, 19, 23) |
| HSL | hsl(357, 65%, 22%) |
| HSV | hsv(357, 79%, 36%) |
| CMYK | cmyk(0%, 79.1%, 74.7%, 64.3%) |
| CIE-LAB | lab(19.02, 32.59, 17.23) |
| CIE-LCH | lch(19.02, 36.86, 27.86°) |
| OKLab | oklab(31.46% 0.0955 0.0399) |
| OKLCH | oklch(31.46% 0.104 22.7) |
| XYZ | xyz(4.7024, 2.7525, 1.0941) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.83
Rosewood
#65000B
ΔE00 4.16
Dried Blood
#4B0101
ΔE00 4.41
Mahogany
#4A0100
ΔE00 4.60
Deep Brown
#410200
ΔE00 5.90
Maroon (survey)
#650021
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1317 #135B57
analogous
#5B133B #5B1317 #5B3313
triadic
#5B1317 #175B13 #13175B
tetradic
#5B1317 #3B5B13 #135B57 #33135B
square
#5B1317 #3B5B13 #135B57 #33135B
split-complementary
#5B1317 #135B33 #133B5B
monochromatic
#190506 #28080A #5B1317 #8E1E24 #C02831
Accessibility & contrast
On white
13.54
#5B1317 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1317 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1317
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1317 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1317 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282417
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#650015
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1317; /* rgb */ color: rgb(91, 19, 23); /* oklch */ color: oklch(31.5% 0.104 22.7);
Tailwind
colors: {
custom: {
50: '#905753',
500: '#5b1317',
950: '#000000',
},
}SCSS
$custom: #5b1317; $custom-light: #905753; $custom-dark: #000000;
JSON
{
"hex": "#5b1317",
"rgb": {
"r": 91,
"g": 19,
"b": 23
},
"hsl": {
"h": 356.667,
"s": 65.455,
"l": 21.569
},
"oklch": {
"l": 0.31455,
"c": 0.10354,
"h": 22.7
},
"luminance": 0.02752
}Semantic roles & 50–950 ramp
primary
#5B1317
secondary
#37938E
accent
#E8DF3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878