#57171B#57171B
#57171B is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.094 H 21.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #57171B |
|---|---|
| RGB | rgb(87, 23, 27) |
| HSL | hsl(356, 58%, 22%) |
| HSV | hsv(356, 74%, 34%) |
| CMYK | cmyk(0%, 73.6%, 69%, 65.9%) |
| CIE-LAB | lab(18.88, 29.66, 14.10) |
| CIE-LCH | lch(18.88, 32.84, 25.43°) |
| OKLab | oklab(31.22% 0.0877 0.0337) |
| OKLCH | oklch(31.22% 0.094 21) |
| XYZ | xyz(4.4352, 2.7188, 1.3279) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.90
Dried Blood
#4B0101
ΔE00 5.10
Mahogany
#4A0100
ΔE00 5.25
Deep Brown
#410200
ΔE00 5.81
Maroon (survey)
#650021
ΔE00 5.87
Rosewood
#65000B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57171B #175753
analogous
#57173B #57171B #573317
triadic
#57171B #1B5717 #171B57
tetradic
#57171B #3B5717 #175753 #331757
square
#57171B #3B5717 #175753 #331757
split-complementary
#57171B #175733 #173B57
monochromatic
#180608 #270A0C #57171B #87242A #B83139
Accessibility & contrast
On white
13.60
#57171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#57171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57171B
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57171B | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28251B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#600719
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #57171b; /* rgb */ color: rgb(87, 23, 27); /* oklch */ color: oklch(31.2% 0.094 21.0);
Tailwind
colors: {
custom: {
50: '#8c5957',
500: '#57171b',
950: '#000000',
},
}SCSS
$custom: #57171b; $custom-light: #8c5957; $custom-dark: #000000;
JSON
{
"hex": "#57171b",
"rgb": {
"r": 87,
"g": 23,
"b": 27
},
"hsl": {
"h": 356.25,
"s": 58.182,
"l": 21.569
},
"oklch": {
"l": 0.31217,
"c": 0.094,
"h": 21
},
"luminance": 0.02718
}Semantic roles & 50–950 ramp
primary
#57171B
secondary
#3C8E89
accent
#E1D846
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978