#5C171F#5C171F
#5C171F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.100 H 18.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5C171F |
|---|---|
| RGB | rgb(92, 23, 31) |
| HSL | hsl(353, 60%, 23%) |
| HSV | hsv(353, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 66.3%, 63.9%) |
| CIE-LAB | lab(19.99, 31.80, 12.96) |
| CIE-LCH | lch(19.99, 34.33, 22.17°) |
| OKLab | oklab(32.27% 0.0947 0.0314) |
| OKLCH | oklch(32.27% 0.1 18.3) |
| XYZ | xyz(4.9678, 2.9877, 1.6112) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.23
Maroon (survey)
#650021
ΔE00 4.47
Burgundy (survey)
#610023
ΔE00 5.23
Dried Blood
#4B0101
ΔE00 6.27
Rosewood
#65000B
ΔE00 6.41
Mahogany
#4A0100
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C171F #175C54
analogous
#5C1742 #5C171F #5C3117
triadic
#5C171F #1F5C17 #171F5C
tetradic
#5C171F #425C17 #175C54 #31175C
square
#5C171F #425C17 #175C54 #31175C
split-complementary
#5C171F #175C31 #17425C
monochromatic
#180608 #2B0B0F #5C171F #8D232F #BE2F40
Accessibility & contrast
On white
13.15
#5C171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5C171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C171F
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C171F | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3B361D
Tritanopia (blue-blind)
#65051A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5c171f; /* rgb */ color: rgb(92, 23, 31); /* oklch */ color: oklch(32.3% 0.100 18.3);
Tailwind
colors: {
custom: {
50: '#8f595a',
500: '#5c171f',
950: '#000000',
},
}SCSS
$custom: #5c171f; $custom-light: #8f595a; $custom-dark: #000000;
JSON
{
"hex": "#5c171f",
"rgb": {
"r": 92,
"g": 23,
"b": 31
},
"hsl": {
"h": 353.043,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.32266,
"c": 0.09976,
"h": 18.3
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#5C171F
secondary
#3C9389
accent
#E3D145
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0403
muted
#7E7978