#5A170E#5A170E
#5A170E is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.100 H 30.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5A170E |
|---|---|
| RGB | rgb(90, 23, 14) |
| HSL | hsl(7, 73%, 20%) |
| HSV | hsv(7, 84%, 35%) |
| CMYK | cmyk(0%, 74.4%, 84.4%, 64.7%) |
| CIE-LAB | lab(19.30, 30.08, 23.02) |
| CIE-LCH | lch(19.30, 37.88, 37.44°) |
| OKLab | oklab(31.59% 0.0856 0.0511) |
| OKLCH | oklch(31.59% 0.1 30.8) |
| XYZ | xyz(4.6026, 2.8189, 0.7171) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 4.56
Reddy Brown
#6E1005
ΔE00 4.92
Dried Blood
#4B0101
ΔE00 5.32
Mahogany
#4A0100
ΔE00 5.38
Blood
#770001
ΔE00 6.86
Deep Brown
#410200
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A170E #0E515A
analogous
#5A0E2B #5A170E #5A3D0E
triadic
#5A170E #0E5A17 #170E5A
tetradic
#5A170E #2B5A0E #0E515A #3D0E5A
square
#5A170E #2B5A0E #0E515A #3D0E5A
split-complementary
#5A170E #0E5A3D #0E2B5A
monochromatic
#1A0704 #250906 #5A170E #8F2516 #C4321E
Accessibility & contrast
On white
13.43
#5A170E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5A170E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A170E
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A170E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A170E | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B250C
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#640215
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a170e; /* rgb */ color: rgb(90, 23, 14); /* oklch */ color: oklch(31.6% 0.100 30.8);
Tailwind
colors: {
custom: {
50: '#8f594d',
500: '#5a170e',
950: '#000000',
},
}SCSS
$custom: #5a170e; $custom-light: #8f594d; $custom-dark: #000000;
JSON
{
"hex": "#5a170e",
"rgb": {
"r": 90,
"g": 23,
"b": 14
},
"hsl": {
"h": 7.105,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.31585,
"c": 0.09969,
"h": 30.8
},
"luminance": 0.02818
}Semantic roles & 50–950 ramp
primary
#5A170E
secondary
#308894
accent
#DAF038
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977