#5A161F#5A161F
#5A161F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.8% C 0.099 H 17.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5A161F |
|---|---|
| RGB | rgb(90, 22, 31) |
| HSL | hsl(352, 61%, 22%) |
| HSV | hsv(352, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 65.6%, 64.7%) |
| CIE-LAB | lab(19.42, 31.51, 12.13) |
| CIE-LCH | lch(19.42, 33.76, 21.05°) |
| OKLab | oklab(31.76% 0.0941 0.0295) |
| OKLCH | oklch(31.76% 0.099 17.4) |
| XYZ | xyz(4.7512, 2.8471, 1.5954) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.32
Claret
#680018
ΔE00 4.58
Burgundy (survey)
#610023
ΔE00 4.90
Dried Blood
#4B0101
ΔE00 6.31
Mahogany
#4A0100
ΔE00 6.48
Deep Brown
#410200
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A161F #165A51
analogous
#5A1641 #5A161F #5A2F16
triadic
#5A161F #1F5A16 #161F5A
tetradic
#5A161F #415A16 #165A51 #2F165A
square
#5A161F #415A16 #165A51 #2F165A
split-complementary
#5A161F #165A2F #16415A
monochromatic
#190608 #290A0E #5A161F #8B2230 #BC2E41
Accessibility & contrast
On white
13.38
#5A161F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A161F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A161F
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A161F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A161F | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#63051A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a161f; /* rgb */ color: rgb(90, 22, 31); /* oklch */ color: oklch(31.8% 0.099 17.4);
Tailwind
colors: {
custom: {
50: '#8e595a',
500: '#5a161f',
950: '#000000',
},
}SCSS
$custom: #5a161f; $custom-light: #8e595a; $custom-dark: #000000;
JSON
{
"hex": "#5a161f",
"rgb": {
"r": 90,
"g": 22,
"b": 31
},
"hsl": {
"h": 352.059,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.31762,
"c": 0.09859,
"h": 17.4
},
"luminance": 0.02846
}Semantic roles & 50–950 ramp
primary
#5A161F
secondary
#3B9186
accent
#E4CF44
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978