#58171B#58171B
#58171B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.095 H 21.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #58171B |
|---|---|
| RGB | rgb(88, 23, 27) |
| HSL | hsl(356, 59%, 22%) |
| HSV | hsv(356, 74%, 35%) |
| CMYK | cmyk(0%, 73.9%, 69.3%, 65.5%) |
| CIE-LAB | lab(19.09, 30.04, 14.41) |
| CIE-LCH | lch(19.09, 33.31, 25.63°) |
| OKLab | oklab(31.41% 0.0888 0.0344) |
| OKLCH | oklch(31.41% 0.095 21.2) |
| XYZ | xyz(4.5292, 2.7673, 1.3323) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.72
Dried Blood
#4B0101
ΔE00 5.11
Mahogany
#4A0100
ΔE00 5.27
Rosewood
#65000B
ΔE00 5.80
Maroon (survey)
#650021
ΔE00 5.82
Deep Brown
#410200
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#58171B #175854
analogous
#58173C #58171B #583417
triadic
#58171B #1B5817 #171B58
tetradic
#58171B #3C5817 #175854 #341758
square
#58171B #3C5817 #175854 #341758
split-complementary
#58171B #175834 #173C58
monochromatic
#180607 #270A0C #58171B #89242A #B93039
Accessibility & contrast
On white
13.52
#58171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#58171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #58171B
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##58171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##58171B | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#393319
Tritanopia (blue-blind)
#610619
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #58171b; /* rgb */ color: rgb(88, 23, 27); /* oklch */ color: oklch(31.4% 0.095 21.2);
Tailwind
colors: {
custom: {
50: '#8c5957',
500: '#58171b',
950: '#000000',
},
}SCSS
$custom: #58171b; $custom-light: #8c5957; $custom-dark: #000000;
JSON
{
"hex": "#58171b",
"rgb": {
"r": 88,
"g": 23,
"b": 27
},
"hsl": {
"h": 356.308,
"s": 58.559,
"l": 21.765
},
"oklch": {
"l": 0.3141,
"c": 0.09521,
"h": 21.2
},
"luminance": 0.02767
}Semantic roles & 50–950 ramp
primary
#58171B
secondary
#3C8F8A
accent
#E2D846
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978