#5B161B#5B161B
#5B161B is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.9% C 0.100 H 21.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B161B |
|---|---|
| RGB | rgb(91, 22, 27) |
| HSL | hsl(356, 61%, 22%) |
| HSV | hsv(356, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 70.3%, 64.3%) |
| CIE-LAB | lab(19.55, 31.59, 15.12) |
| CIE-LCH | lch(19.55, 35.02, 25.58°) |
| OKLab | oklab(31.87% 0.0933 0.0359) |
| OKLCH | oklch(31.87% 0.1 21) |
| XYZ | xyz(4.7996, 2.8778, 1.3394) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.02
Dried Blood
#4B0101
ΔE00 5.21
Rosewood
#65000B
ΔE00 5.26
Mahogany
#4A0100
ΔE00 5.39
Maroon (survey)
#650021
ΔE00 5.45
Deep Brown
#410200
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B161B #165B56
analogous
#5B163E #5B161B #5B3416
triadic
#5B161B #1B5B16 #161B5B
tetradic
#5B161B #3E5B16 #165B56 #34165B
square
#5B161B #3E5B16 #165B56 #34165B
split-complementary
#5B161B #165B34 #163E5B
monochromatic
#190607 #2A0A0C #5B161B #8C222A #BE2E38
Accessibility & contrast
On white
13.33
#5B161B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5B161B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B161B
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B161B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B161B | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3A3519
Tritanopia (blue-blind)
#640318
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b161b; /* rgb */ color: rgb(91, 22, 27); /* oklch */ color: oklch(31.9% 0.100 21.0);
Tailwind
colors: {
custom: {
50: '#8f5957',
500: '#5b161b',
950: '#000000',
},
}SCSS
$custom: #5b161b; $custom-light: #8f5957; $custom-dark: #000000;
JSON
{
"hex": "#5b161b",
"rgb": {
"r": 91,
"g": 22,
"b": 27
},
"hsl": {
"h": 355.652,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.31869,
"c": 0.09995,
"h": 21
},
"luminance": 0.02877
}Semantic roles & 50–950 ramp
primary
#5B161B
secondary
#3B928C
accent
#E4D944
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978