#5B151B#5B151B
#5B151B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.101 H 20.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5B151B |
|---|---|
| RGB | rgb(91, 21, 27) |
| HSL | hsl(355, 63%, 22%) |
| HSV | hsv(355, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 70.3%, 64.3%) |
| CIE-LAB | lab(19.39, 32.02, 14.92) |
| CIE-LCH | lch(19.39, 35.32, 24.99°) |
| OKLab | oklab(31.75% 0.0947 0.0354) |
| OKLCH | oklch(31.75% 0.101 20.5) |
| XYZ | xyz(4.7809, 2.8403, 1.3332) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.87
Maroon (survey)
#650021
ΔE00 5.18
Dried Blood
#4B0101
ΔE00 5.22
Rosewood
#65000B
ΔE00 5.31
Mahogany
#4A0100
ΔE00 5.40
Burgundy (survey)
#610023
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B151B #155B55
analogous
#5B153E #5B151B #5B3215
triadic
#5B151B #1B5B15 #151B5B
tetradic
#5B151B #3E5B15 #155B55 #32155B
square
#5B151B #3E5B15 #155B55 #32155B
split-complementary
#5B151B #155B32 #153E5B
monochromatic
#190607 #290A0C #5B151B #8D202A #BE2C39
Accessibility & contrast
On white
13.39
#5B151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B151B
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B151B | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#650118
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b151b; /* rgb */ color: rgb(91, 21, 27); /* oklch */ color: oklch(31.8% 0.101 20.5);
Tailwind
colors: {
custom: {
50: '#8f5857',
500: '#5b151b',
950: '#000000',
},
}SCSS
$custom: #5b151b; $custom-light: #8f5857; $custom-dark: #000000;
JSON
{
"hex": "#5b151b",
"rgb": {
"r": 91,
"g": 21,
"b": 27
},
"hsl": {
"h": 354.857,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.31753,
"c": 0.10107,
"h": 20.5
},
"luminance": 0.0284
}Semantic roles & 50–950 ramp
primary
#5B151B
secondary
#39928B
accent
#E6D842
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978