#5B151C#5B151C
#5B151C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.101 H 19.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5B151C |
|---|---|
| RGB | rgb(91, 21, 28) |
| HSL | hsl(354, 63%, 22%) |
| HSV | hsv(354, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 69.2%, 64.3%) |
| CIE-LAB | lab(19.41, 32.08, 14.25) |
| CIE-LCH | lch(19.41, 35.11, 23.96°) |
| OKLab | oklab(31.77% 0.0951 0.034) |
| OKLCH | oklch(31.77% 0.101 19.7) |
| XYZ | xyz(4.7926, 2.8450, 1.3952) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.91
Maroon (survey)
#650021
ΔE00 4.85
Dried Blood
#4B0101
ΔE00 5.48
Mahogany
#4A0100
ΔE00 5.66
Rosewood
#65000B
ΔE00 5.66
Burgundy (survey)
#610023
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B151C #155B54
analogous
#5B153F #5B151C #5B3115
triadic
#5B151C #1C5B15 #151C5B
tetradic
#5B151C #3F5B15 #155B54 #31155B
square
#5B151C #3F5B15 #155B54 #31155B
split-complementary
#5B151C #155B31 #153F5B
monochromatic
#190608 #290A0D #5B151C #8D202B #BE2C3B
Accessibility & contrast
On white
13.39
#5B151C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B151C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B151C
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B151C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B151C | 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)
#28261C
Deuteranopia (green-blind)
#3A341A
Tritanopia (blue-blind)
#640218
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b151c; /* rgb */ color: rgb(91, 21, 28); /* oklch */ color: oklch(31.8% 0.101 19.7);
Tailwind
colors: {
custom: {
50: '#8f5857',
500: '#5b151c',
950: '#000000',
},
}SCSS
$custom: #5b151c; $custom-light: #8f5857; $custom-dark: #000000;
JSON
{
"hex": "#5b151c",
"rgb": {
"r": 91,
"g": 21,
"b": 28
},
"hsl": {
"h": 354,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.31774,
"c": 0.10101,
"h": 19.7
},
"luminance": 0.02844
}Semantic roles & 50–950 ramp
primary
#5B151C
secondary
#39928A
accent
#E6D542
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978