#56171D#56171D
#56171D is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.093 H 19.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #56171D |
|---|---|
| RGB | rgb(86, 23, 29) |
| HSL | hsl(354, 58%, 21%) |
| HSV | hsv(354, 73%, 34%) |
| CMYK | cmyk(0%, 73.3%, 66.3%, 66.3%) |
| CIE-LAB | lab(18.72, 29.43, 12.45) |
| CIE-LCH | lch(18.72, 31.96, 22.93°) |
| OKLab | oklab(31.07% 0.0876 0.0302) |
| OKLCH | oklch(31.07% 0.093 19) |
| XYZ | xyz(4.3663, 2.6805, 1.4496) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 5.22
Maroon (survey)
#650021
ΔE00 5.38
Dried Blood
#4B0101
ΔE00 5.69
Mahogany
#4A0100
ΔE00 5.83
Burgundy (survey)
#610023
ΔE00 5.89
Deep Brown
#410200
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56171D #175650
analogous
#56173D #56171D #563117
triadic
#56171D #1D5617 #171D56
tetradic
#56171D #3D5617 #175650 #311756
square
#56171D #3D5617 #175650 #311756
split-complementary
#56171D #175631 #173D56
monochromatic
#180608 #260A0D #56171D #86242D #B7313E
Accessibility & contrast
On white
13.67
#56171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#56171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56171D
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56171D | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#5F081A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #56171d; /* rgb */ color: rgb(86, 23, 29); /* oklch */ color: oklch(31.1% 0.093 19.0);
Tailwind
colors: {
custom: {
50: '#8b5958',
500: '#56171d',
950: '#000000',
},
}SCSS
$custom: #56171d; $custom-light: #8b5958; $custom-dark: #000000;
JSON
{
"hex": "#56171d",
"rgb": {
"r": 86,
"g": 23,
"b": 29
},
"hsl": {
"h": 354.286,
"s": 57.798,
"l": 21.373
},
"oklch": {
"l": 0.3107,
"c": 0.09265,
"h": 19
},
"luminance": 0.0268
}Semantic roles & 50–950 ramp
primary
#56171D
secondary
#3C8D85
accent
#E1D247
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0D0403
muted
#7D7978