#5C1218#5C1218
#5C1218 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.106 H 21.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1218 |
|---|---|
| RGB | rgb(92, 18, 24) |
| HSL | hsl(355, 67%, 22%) |
| HSV | hsv(355, 80%, 36%) |
| CMYK | cmyk(0%, 80.4%, 73.9%, 63.9%) |
| CIE-LAB | lab(19.12, 33.39, 16.70) |
| CIE-LCH | lch(19.12, 37.33, 26.58°) |
| OKLab | oklab(31.57% 0.0982 0.0389) |
| OKLCH | oklch(31.57% 0.106 21.6) |
| XYZ | xyz(4.7953, 2.7746, 1.1470) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.39
Rosewood
#65000B
ΔE00 4.30
Dried Blood
#4B0101
ΔE00 4.66
Mahogany
#4A0100
ΔE00 4.86
Maroon (survey)
#650021
ΔE00 5.54
Deep Brown
#410200
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1218 #125C56
analogous
#5C123D #5C1218 #5C3112
triadic
#5C1218 #185C12 #12185C
tetradic
#5C1218 #3D5C12 #125C56 #31125C
square
#5C1218 #3D5C12 #125C56 #31125C
split-complementary
#5C1218 #125C31 #123D5C
monochromatic
#1A0507 #29080B #5C1218 #8F1C25 #C22633
Accessibility & contrast
On white
13.51
#5C1218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5C1218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1218
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1218 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282418
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#660015
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5c1218; /* rgb */ color: rgb(92, 18, 24); /* oklch */ color: oklch(31.6% 0.106 21.6);
Tailwind
colors: {
custom: {
50: '#905754',
500: '#5c1218',
950: '#000000',
},
}SCSS
$custom: #5c1218; $custom-light: #905754; $custom-dark: #000000;
JSON
{
"hex": "#5c1218",
"rgb": {
"r": 92,
"g": 18,
"b": 24
},
"hsl": {
"h": 355.135,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.3157,
"c": 0.10559,
"h": 21.6
},
"luminance": 0.02774
}Semantic roles & 50–950 ramp
primary
#5C1218
secondary
#35948D
accent
#EADC3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878