#5B151A#5B151A
#5B151A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.101 H 21.3°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B151A |
|---|---|
| RGB | rgb(91, 21, 26) |
| HSL | hsl(356, 63%, 22%) |
| HSV | hsv(356, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 71.4%, 64.3%) |
| CIE-LAB | lab(19.37, 31.95, 15.59) |
| CIE-LCH | lch(19.37, 35.55, 26.02°) |
| OKLab | oklab(31.73% 0.0942 0.0368) |
| OKLCH | oklch(31.73% 0.101 21.3) |
| XYZ | xyz(4.7695, 2.8358, 1.2733) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.89
Rosewood
#65000B
ΔE00 4.99
Dried Blood
#4B0101
ΔE00 4.99
Mahogany
#4A0100
ΔE00 5.17
Maroon (survey)
#650021
ΔE00 5.53
Deep Brown
#410200
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B151A #155B56
analogous
#5B153D #5B151A #5B3315
triadic
#5B151A #1A5B15 #151A5B
tetradic
#5B151A #3D5B15 #155B56 #33155B
square
#5B151A #3D5B15 #155B56 #33155B
split-complementary
#5B151A #155B33 #153D5B
monochromatic
#190607 #290A0C #5B151A #8D2028 #BE2C36
Accessibility & contrast
On white
13.40
#5B151A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B151A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B151A
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B151A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B151A | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29251A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#650117
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b151a; /* rgb */ color: rgb(91, 21, 26); /* oklch */ color: oklch(31.7% 0.101 21.3);
Tailwind
colors: {
custom: {
50: '#8f5856',
500: '#5b151a',
950: '#000000',
},
}SCSS
$custom: #5b151a; $custom-light: #8f5856; $custom-dark: #000000;
JSON
{
"hex": "#5b151a",
"rgb": {
"r": 91,
"g": 21,
"b": 26
},
"hsl": {
"h": 355.714,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.31733,
"c": 0.10114,
"h": 21.3
},
"luminance": 0.02835
}Semantic roles & 50–950 ramp
primary
#5B151A
secondary
#39928C
accent
#E6DA42
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978