#5B1418#5B1418
#5B1418 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.102 H 22.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1418 |
|---|---|
| RGB | rgb(91, 20, 24) |
| HSL | hsl(357, 64%, 22%) |
| HSV | hsv(357, 78%, 36%) |
| CMYK | cmyk(0%, 78%, 73.6%, 64.3%) |
| CIE-LAB | lab(19.19, 32.24, 16.74) |
| CIE-LCH | lch(19.19, 36.33, 27.44°) |
| OKLab | oklab(31.58% 0.0947 0.039) |
| OKLCH | oklch(31.58% 0.102 22.4) |
| XYZ | xyz(4.7299, 2.7911, 1.1537) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.88
Rosewood
#65000B
ΔE00 4.42
Dried Blood
#4B0101
ΔE00 4.59
Mahogany
#4A0100
ΔE00 4.78
Deep Brown
#410200
ΔE00 5.98
Maroon (survey)
#650021
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1418 #145B57
analogous
#5B143C #5B1418 #5B3414
triadic
#5B1418 #185B14 #14185B
tetradic
#5B1418 #3C5B14 #145B57 #34145B
square
#5B1418 #3C5B14 #145B57 #34145B
split-complementary
#5B1418 #145B34 #143C5B
monochromatic
#190607 #29090B #5B1418 #8D1F25 #BF2A32
Accessibility & contrast
On white
13.48
#5B1418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5B1418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1418
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1418 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#650016
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b1418; /* rgb */ color: rgb(91, 20, 24); /* oklch */ color: oklch(31.6% 0.102 22.4);
Tailwind
colors: {
custom: {
50: '#8f5854',
500: '#5b1418',
950: '#000000',
},
}SCSS
$custom: #5b1418; $custom-light: #8f5854; $custom-dark: #000000;
JSON
{
"hex": "#5b1418",
"rgb": {
"r": 91,
"g": 20,
"b": 24
},
"hsl": {
"h": 356.62,
"s": 63.964,
"l": 21.765
},
"oklch": {
"l": 0.31582,
"c": 0.1024,
"h": 22.4
},
"luminance": 0.0279
}Semantic roles & 50–950 ramp
primary
#5B1418
secondary
#38938E
accent
#E7DE41
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878