#5B151F#5B151F
#5B151F is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.101 H 17.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B151F |
|---|---|
| RGB | rgb(91, 21, 31) |
| HSL | hsl(351, 63%, 22%) |
| HSV | hsv(351, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 65.9%, 64.3%) |
| CIE-LAB | lab(19.47, 32.30, 12.24) |
| CIE-LCH | lch(19.47, 34.54, 20.76°) |
| OKLab | oklab(31.84% 0.0964 0.0297) |
| OKLCH | oklch(31.84% 0.101 17.1) |
| XYZ | xyz(4.8304, 2.8601, 1.5938) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.00
Claret
#680018
ΔE00 4.32
Burgundy (survey)
#610023
ΔE00 4.64
Dried Blood
#4B0101
ΔE00 6.37
Mahogany
#4A0100
ΔE00 6.55
Wine Red
#7B0323
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B151F #155B51
analogous
#5B1542 #5B151F #5B2E15
triadic
#5B151F #1F5B15 #151F5B
tetradic
#5B151F #425B15 #155B51 #2E155B
square
#5B151F #425B15 #155B51 #2E155B
split-complementary
#5B151F #155B2E #15425B
monochromatic
#190608 #290A0E #5B151F #8D2030 #BE2C41
Accessibility & contrast
On white
13.36
#5B151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B151F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B151F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#3A351D
Tritanopia (blue-blind)
#640319
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b151f; /* rgb */ color: rgb(91, 21, 31); /* oklch */ color: oklch(31.8% 0.101 17.1);
Tailwind
colors: {
custom: {
50: '#8f585a',
500: '#5b151f',
950: '#000000',
},
}SCSS
$custom: #5b151f; $custom-light: #8f585a; $custom-dark: #000000;
JSON
{
"hex": "#5b151f",
"rgb": {
"r": 91,
"g": 21,
"b": 31
},
"hsl": {
"h": 351.429,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.31841,
"c": 0.10092,
"h": 17.1
},
"luminance": 0.02859
}Semantic roles & 50–950 ramp
primary
#5B151F
secondary
#399286
accent
#E6CE42
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978