#5C1117#5C1117
#5C1117 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 21.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1117 |
|---|---|
| RGB | rgb(92, 17, 23) |
| HSL | hsl(355, 69%, 21%) |
| HSV | hsv(355, 82%, 36%) |
| CMYK | cmyk(0%, 81.5%, 75%, 63.9%) |
| CIE-LAB | lab(18.97, 33.71, 17.21) |
| CIE-LCH | lch(18.97, 37.84, 27.05°) |
| OKLab | oklab(31.45% 0.0989 0.0398) |
| OKLCH | oklch(31.45% 0.107 21.9) |
| XYZ | xyz(4.7693, 2.7388, 1.0880) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.34
Rosewood
#65000B
ΔE00 4.03
Dried Blood
#4B0101
ΔE00 4.48
Mahogany
#4A0100
ΔE00 4.68
Maroon (survey)
#650021
ΔE00 5.69
Deep Brown
#410200
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1117 #115C56
analogous
#5C113D #5C1117 #5C3111
triadic
#5C1117 #175C11 #11175C
tetradic
#5C1117 #3D5C11 #115C56 #31115C
square
#5C1117 #3D5C11 #115C56 #31115C
split-complementary
#5C1117 #115C31 #113D5C
monochromatic
#1A0506 #28070A #5C1117 #901B24 #C32431
Accessibility & contrast
On white
13.57
#5C1117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5C1117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1117
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1117 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#660014
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5c1117; /* rgb */ color: rgb(92, 17, 23); /* oklch */ color: oklch(31.5% 0.107 21.9);
Tailwind
colors: {
custom: {
50: '#905753',
500: '#5c1117',
950: '#000000',
},
}SCSS
$custom: #5c1117; $custom-light: #905753; $custom-dark: #000000;
JSON
{
"hex": "#5c1117",
"rgb": {
"r": 92,
"g": 17,
"b": 23
},
"hsl": {
"h": 355.2,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.31451,
"c": 0.10665,
"h": 21.9
},
"luminance": 0.02738
}Semantic roles & 50–950 ramp
primary
#5C1117
secondary
#34958D
accent
#ECDE3C
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878