#5A161B#5A161B
#5A161B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.099 H 20.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5A161B |
|---|---|
| RGB | rgb(90, 22, 27) |
| HSL | hsl(356, 61%, 22%) |
| HSV | hsv(356, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 70%, 64.7%) |
| CIE-LAB | lab(19.34, 31.22, 14.81) |
| CIE-LCH | lch(19.34, 34.56, 25.38°) |
| OKLab | oklab(31.67% 0.0923 0.0352) |
| OKLCH | oklch(31.67% 0.099 20.9) |
| XYZ | xyz(4.7017, 2.8273, 1.3348) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.19
Dried Blood
#4B0101
ΔE00 5.17
Mahogany
#4A0100
ΔE00 5.34
Rosewood
#65000B
ΔE00 5.45
Maroon (survey)
#650021
ΔE00 5.47
Deep Brown
#410200
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A161B #165A55
analogous
#5A163D #5A161B #5A3316
triadic
#5A161B #1B5A16 #161B5A
tetradic
#5A161B #3D5A16 #165A55 #33165A
square
#5A161B #3D5A16 #165A55 #33165A
split-complementary
#5A161B #165A33 #163D5A
monochromatic
#190607 #290A0C #5A161B #8B222A #BC2E39
Accessibility & contrast
On white
13.42
#5A161B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A161B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A161B
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A161B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A161B | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#630418
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a161b; /* rgb */ color: rgb(90, 22, 27); /* oklch */ color: oklch(31.7% 0.099 20.9);
Tailwind
colors: {
custom: {
50: '#8e5957',
500: '#5a161b',
950: '#000000',
},
}SCSS
$custom: #5a161b; $custom-light: #8e5957; $custom-dark: #000000;
JSON
{
"hex": "#5a161b",
"rgb": {
"r": 90,
"g": 22,
"b": 27
},
"hsl": {
"h": 355.588,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.31674,
"c": 0.09877,
"h": 20.9
},
"luminance": 0.02827
}Semantic roles & 50–950 ramp
primary
#5A161B
secondary
#3B918B
accent
#E4D844
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978