#5C1017#5C1017
#5C1017 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.108 H 21.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1017 |
|---|---|
| RGB | rgb(92, 16, 23) |
| HSL | hsl(354, 70%, 21%) |
| HSV | hsv(354, 83%, 36%) |
| CMYK | cmyk(0%, 82.6%, 75%, 63.9%) |
| CIE-LAB | lab(18.84, 34.07, 17.05) |
| CIE-LCH | lch(18.84, 38.10, 26.59°) |
| OKLab | oklab(31.36% 0.1001 0.0395) |
| OKLCH | oklch(31.36% 0.108 21.5) |
| XYZ | xyz(4.7541, 2.7085, 1.0829) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.19
Rosewood
#65000B
ΔE00 4.08
Dried Blood
#4B0101
ΔE00 4.48
Mahogany
#4A0100
ΔE00 4.69
Maroon (survey)
#650021
ΔE00 5.48
Deep Brown
#410200
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1017 #105C55
analogous
#5C103D #5C1017 #5C2F10
triadic
#5C1017 #175C10 #10175C
tetradic
#5C1017 #3D5C10 #105C55 #2F105C
square
#5C1017 #3D5C10 #105C55 #2F105C
split-complementary
#5C1017 #105C2F #103D5C
monochromatic
#1A0507 #28070A #5C1017 #901924 #C42231
Accessibility & contrast
On white
13.62
#5C1017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5C1017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1017
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1017 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272317
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#660013
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5c1017; /* rgb */ color: rgb(92, 16, 23); /* oklch */ color: oklch(31.4% 0.108 21.5);
Tailwind
colors: {
custom: {
50: '#915653',
500: '#5c1017',
950: '#000000',
},
}SCSS
$custom: #5c1017; $custom-light: #915653; $custom-dark: #000000;
JSON
{
"hex": "#5c1017",
"rgb": {
"r": 92,
"g": 16,
"b": 23
},
"hsl": {
"h": 354.474,
"s": 70.37,
"l": 21.176
},
"oklch": {
"l": 0.31355,
"c": 0.1076,
"h": 21.5
},
"luminance": 0.02708
}Semantic roles & 50–950 ramp
primary
#5C1017
secondary
#33958C
accent
#EDDD3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878