#5E1218#5E1218
#5E1218 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 21.9°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1218 |
|---|---|
| RGB | rgb(94, 18, 24) |
| HSL | hsl(355, 68%, 22%) |
| HSV | hsv(355, 81%, 37%) |
| CMYK | cmyk(0%, 80.9%, 74.5%, 63.1%) |
| CIE-LAB | lab(19.55, 34.08, 17.33) |
| CIE-LCH | lch(19.55, 38.23, 26.96°) |
| OKLab | oklab(31.97% 0.1001 0.0402) |
| OKLCH | oklch(31.97% 0.108 21.9) |
| XYZ | xyz(4.9978, 2.8790, 1.1565) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.13
Rosewood
#65000B
ΔE00 3.94
Dried Blood
#4B0101
ΔE00 4.87
Mahogany
#4A0100
ΔE00 5.07
Maroon (survey)
#650021
ΔE00 5.61
Wine Red
#7B0323
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1218 #125E58
analogous
#5E123E #5E1218 #5E3212
triadic
#5E1218 #185E12 #12185E
tetradic
#5E1218 #3E5E12 #125E58 #32125E
square
#5E1218 #3E5E12 #125E58 #32125E
split-complementary
#5E1218 #125E32 #123E5E
monochromatic
#1A0507 #2B080B #5E1218 #911C25 #C52632
Accessibility & contrast
On white
13.33
#5E1218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5E1218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1218
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1218 | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#680015
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5e1218; /* rgb */ color: rgb(94, 18, 24); /* oklch */ color: oklch(32.0% 0.108 21.9);
Tailwind
colors: {
custom: {
50: '#925754',
500: '#5e1218',
950: '#000000',
},
}SCSS
$custom: #5e1218; $custom-light: #925754; $custom-dark: #000000;
JSON
{
"hex": "#5e1218",
"rgb": {
"r": 94,
"g": 18,
"b": 24
},
"hsl": {
"h": 355.263,
"s": 67.857,
"l": 21.961
},
"oklch": {
"l": 0.31971,
"c": 0.10783,
"h": 21.9
},
"luminance": 0.02878
}Semantic roles & 50–950 ramp
primary
#5E1218
secondary
#35968F
accent
#EBDD3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878