#56171F#56171F
#56171F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.093 H 17.1°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #56171F |
|---|---|
| RGB | rgb(86, 23, 31) |
| HSL | hsl(352, 58%, 21%) |
| HSV | hsv(352, 73%, 34%) |
| CMYK | cmyk(0%, 73.3%, 64%, 66.3%) |
| CIE-LAB | lab(18.76, 29.59, 11.11) |
| CIE-LCH | lch(18.76, 31.61, 20.57°) |
| OKLab | oklab(31.12% 0.0885 0.0272) |
| OKLCH | oklch(31.12% 0.093 17.1) |
| XYZ | xyz(4.3919, 2.6908, 1.5842) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 4.96
Burgundy (survey)
#610023
ΔE00 5.26
Claret
#680018
ΔE00 5.51
Dried Blood
#4B0101
ΔE00 6.36
Dark Maroon
#3C0008
ΔE00 6.47
Mahogany
#4A0100
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56171F #17564E
analogous
#56173F #56171F #562F17
triadic
#56171F #1F5617 #171F56
tetradic
#56171F #3F5617 #17564E #2F1756
square
#56171F #3F5617 #17564E #2F1756
split-complementary
#56171F #17562F #173F56
monochromatic
#180609 #260A0E #56171F #862430 #B73142
Accessibility & contrast
On white
13.65
#56171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#56171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56171F
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56171F | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#37321D
Tritanopia (blue-blind)
#5F091A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #56171f; /* rgb */ color: rgb(86, 23, 31); /* oklch */ color: oklch(31.1% 0.093 17.1);
Tailwind
colors: {
custom: {
50: '#8a595a',
500: '#56171f',
950: '#000000',
},
}SCSS
$custom: #56171f; $custom-light: #8a595a; $custom-dark: #000000;
JSON
{
"hex": "#56171f",
"rgb": {
"r": 86,
"g": 23,
"b": 31
},
"hsl": {
"h": 352.381,
"s": 57.798,
"l": 21.373
},
"oklch": {
"l": 0.31117,
"c": 0.09261,
"h": 17.1
},
"luminance": 0.0269
}Semantic roles & 50–950 ramp
primary
#56171F
secondary
#3C8D83
accent
#E1CD47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978