#5A161A#5A161A
#5A161A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.099 H 21.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5A161A |
|---|---|
| RGB | rgb(90, 22, 26) |
| HSL | hsl(356, 61%, 22%) |
| HSV | hsv(356, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 71.1%, 64.7%) |
| CIE-LAB | lab(19.32, 31.16, 15.48) |
| CIE-LCH | lch(19.32, 34.79, 26.42°) |
| OKLab | oklab(31.65% 0.0918 0.0366) |
| OKLCH | oklch(31.65% 0.099 21.7) |
| XYZ | xyz(4.6903, 2.8227, 1.2750) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.22
Dried Blood
#4B0101
ΔE00 4.95
Mahogany
#4A0100
ΔE00 5.12
Rosewood
#65000B
ΔE00 5.14
Maroon (survey)
#650021
ΔE00 5.81
Deep Brown
#410200
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A161A #165A56
analogous
#5A163C #5A161A #5A3416
triadic
#5A161A #1A5A16 #161A5A
tetradic
#5A161A #3C5A16 #165A56 #34165A
square
#5A161A #3C5A16 #165A56 #34165A
split-complementary
#5A161A #165A34 #163C5A
monochromatic
#190607 #290A0C #5A161A #8B2228 #BC2E36
Accessibility & contrast
On white
13.42
#5A161A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A161A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A161A
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A161A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A161A | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#630318
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a161a; /* rgb */ color: rgb(90, 22, 26); /* oklch */ color: oklch(31.7% 0.099 21.7);
Tailwind
colors: {
custom: {
50: '#8e5956',
500: '#5a161a',
950: '#000000',
},
}SCSS
$custom: #5a161a; $custom-light: #8e5956; $custom-dark: #000000;
JSON
{
"hex": "#5a161a",
"rgb": {
"r": 90,
"g": 22,
"b": 26
},
"hsl": {
"h": 356.471,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.31654,
"c": 0.09886,
"h": 21.7
},
"luminance": 0.02822
}Semantic roles & 50–950 ramp
primary
#5A161A
secondary
#3B918C
accent
#E4DA44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978