#5B1318#5B1318
#5B1318 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.5% C 0.103 H 21.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1318 |
|---|---|
| RGB | rgb(91, 19, 24) |
| HSL | hsl(356, 65%, 22%) |
| HSV | hsv(356, 79%, 36%) |
| CMYK | cmyk(0%, 79.1%, 73.6%, 64.3%) |
| CIE-LAB | lab(19.04, 32.65, 16.56) |
| CIE-LCH | lch(19.04, 36.61, 26.90°) |
| OKLab | oklab(31.47% 0.096 0.0386) |
| OKLCH | oklch(31.47% 0.103 21.9) |
| XYZ | xyz(4.7126, 2.7565, 1.1479) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.70
Rosewood
#65000B
ΔE00 4.45
Dried Blood
#4B0101
ΔE00 4.57
Mahogany
#4A0100
ΔE00 4.77
Maroon (survey)
#650021
ΔE00 5.75
Deep Brown
#410200
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1318 #135B56
analogous
#5B133C #5B1318 #5B3213
triadic
#5B1318 #185B13 #13185B
tetradic
#5B1318 #3C5B13 #135B56 #32135B
square
#5B1318 #3C5B13 #135B56 #32135B
split-complementary
#5B1318 #135B32 #133C5B
monochromatic
#190507 #28080B #5B1318 #8E1E25 #C02833
Accessibility & contrast
On white
13.54
#5B1318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1318
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1318 | 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)
#282418
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#650016
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1318; /* rgb */ color: rgb(91, 19, 24); /* oklch */ color: oklch(31.5% 0.103 21.9);
Tailwind
colors: {
custom: {
50: '#8f5754',
500: '#5b1318',
950: '#000000',
},
}SCSS
$custom: #5b1318; $custom-light: #8f5754; $custom-dark: #000000;
JSON
{
"hex": "#5b1318",
"rgb": {
"r": 91,
"g": 19,
"b": 24
},
"hsl": {
"h": 355.833,
"s": 65.455,
"l": 21.569
},
"oklch": {
"l": 0.31474,
"c": 0.10345,
"h": 21.9
},
"luminance": 0.02756
}Semantic roles & 50–950 ramp
primary
#5B1318
secondary
#37938D
accent
#E8DD3F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878