#57171F#57171F
#57171F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.094 H 17.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #57171F |
|---|---|
| RGB | rgb(87, 23, 31) |
| HSL | hsl(353, 58%, 22%) |
| HSV | hsv(353, 74%, 34%) |
| CMYK | cmyk(0%, 73.6%, 64.4%, 65.9%) |
| CIE-LAB | lab(18.97, 29.96, 11.41) |
| CIE-LCH | lch(18.97, 32.06, 20.85°) |
| OKLab | oklab(31.31% 0.0896 0.0279) |
| OKLCH | oklch(31.31% 0.094 17.3) |
| XYZ | xyz(4.4846, 2.7386, 1.5885) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.85
Burgundy (survey)
#610023
ΔE00 5.22
Claret
#680018
ΔE00 5.29
Dried Blood
#4B0101
ΔE00 6.32
Mahogany
#4A0100
ΔE00 6.46
Deep Brown
#410200
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57171F #17574F
analogous
#57173F #57171F #572F17
triadic
#57171F #1F5717 #171F57
tetradic
#57171F #3F5717 #17574F #2F1757
square
#57171F #3F5717 #17574F #2F1757
split-complementary
#57171F #17572F #173F57
monochromatic
#180609 #270A0E #57171F #872430 #B83141
Accessibility & contrast
On white
13.57
#57171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#57171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57171F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57171F | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27261F
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#60081A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #57171f; /* rgb */ color: rgb(87, 23, 31); /* oklch */ color: oklch(31.3% 0.094 17.3);
Tailwind
colors: {
custom: {
50: '#8b595a',
500: '#57171f',
950: '#000000',
},
}SCSS
$custom: #57171f; $custom-light: #8b595a; $custom-dark: #000000;
JSON
{
"hex": "#57171f",
"rgb": {
"r": 87,
"g": 23,
"b": 31
},
"hsl": {
"h": 352.5,
"s": 58.182,
"l": 21.569
},
"oklch": {
"l": 0.31308,
"c": 0.09382,
"h": 17.3
},
"luminance": 0.02738
}Semantic roles & 50–950 ramp
primary
#57171F
secondary
#3C8E84
accent
#E1CE46
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0403
muted
#7D7978