#5B161A#5B161A
#5B161A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.8% C 0.100 H 21.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5B161A |
|---|---|
| RGB | rgb(91, 22, 26) |
| HSL | hsl(357, 61%, 22%) |
| HSV | hsv(357, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 71.4%, 64.3%) |
| CIE-LAB | lab(19.53, 31.52, 15.79) |
| CIE-LCH | lch(19.53, 35.26, 26.60°) |
| OKLab | oklab(31.85% 0.0929 0.0372) |
| OKLCH | oklch(31.85% 0.1 21.8) |
| XYZ | xyz(4.7883, 2.8732, 1.2795) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.07
Rosewood
#65000B
ΔE00 4.95
Dried Blood
#4B0101
ΔE00 5.01
Mahogany
#4A0100
ΔE00 5.18
Maroon (survey)
#650021
ΔE00 5.80
Deep Brown
#410200
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B161A #165B57
analogous
#5B163D #5B161A #5B3516
triadic
#5B161A #1A5B16 #161A5B
tetradic
#5B161A #3D5B16 #165B57 #35165B
square
#5B161A #3D5B16 #165B57 #35165B
split-complementary
#5B161A #165B35 #163D5B
monochromatic
#190607 #2A0A0C #5B161A #8C2228 #BE2E36
Accessibility & contrast
On white
13.34
#5B161A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B161A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B161A
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B161A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B161A | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3A3518
Tritanopia (blue-blind)
#650318
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b161a; /* rgb */ color: rgb(91, 22, 26); /* oklch */ color: oklch(31.8% 0.100 21.8);
Tailwind
colors: {
custom: {
50: '#8f5956',
500: '#5b161a',
950: '#000000',
},
}SCSS
$custom: #5b161a; $custom-light: #8f5956; $custom-dark: #000000;
JSON
{
"hex": "#5b161a",
"rgb": {
"r": 91,
"g": 22,
"b": 26
},
"hsl": {
"h": 356.522,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.31849,
"c": 0.10004,
"h": 21.8
},
"luminance": 0.02873
}Semantic roles & 50–950 ramp
primary
#5B161A
secondary
#3B928D
accent
#E4DB44
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978