#5E170D#5E170D
#5E170D is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.105 H 31.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5E170D |
|---|---|
| RGB | rgb(94, 23, 13) |
| HSL | hsl(7, 76%, 21%) |
| HSV | hsv(7, 86%, 37%) |
| CMYK | cmyk(0%, 75.5%, 86.2%, 63.1%) |
| CIE-LAB | lab(20.13, 31.55, 24.69) |
| CIE-LCH | lch(20.13, 40.06, 38.04°) |
| OKLab | oklab(32.36% 0.0895 0.0541) |
| OKLCH | oklch(32.36% 0.105 31.1) |
| XYZ | xyz(4.9957, 3.0223, 0.7010) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.92
Rosewood
#65000B
ΔE00 4.34
Blood
#770001
ΔE00 5.92
Dried Blood
#4B0101
ΔE00 6.02
Mahogany
#4A0100
ΔE00 6.11
Claret
#680018
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E170D #0D545E
analogous
#5E0D2B #5E170D #5E3F0D
triadic
#5E170D #0D5E17 #170D5E
tetradic
#5E170D #2B5E0D #0D545E #3F0D5E
square
#5E170D #2B5E0D #0D545E #3F0D5E
split-complementary
#5E170D #0D5E3F #0D2B5E
monochromatic
#1B0704 #280A06 #5E170D #942414 #CA311C
Accessibility & contrast
On white
13.09
#5E170D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5E170D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E170D
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E170D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E170D | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C270B
Deuteranopia (green-blind)
#3E360A
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5e170d; /* rgb */ color: rgb(94, 23, 13); /* oklch */ color: oklch(32.4% 0.105 31.1);
Tailwind
colors: {
custom: {
50: '#93594d',
500: '#5e170d',
950: '#000000',
},
}SCSS
$custom: #5e170d; $custom-light: #93594d; $custom-dark: #000000;
JSON
{
"hex": "#5e170d",
"rgb": {
"r": 94,
"g": 23,
"b": 13
},
"hsl": {
"h": 7.407,
"s": 75.701,
"l": 20.98
},
"oklch": {
"l": 0.32357,
"c": 0.10457,
"h": 31.1
},
"luminance": 0.03022
}Semantic roles & 50–950 ramp
primary
#5E170D
secondary
#2F8B98
accent
#DBF236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977