#5F1118#5F1118
#5F1118 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 21.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1118 |
|---|---|
| RGB | rgb(95, 17, 24) |
| HSL | hsl(355, 70%, 22%) |
| HSV | hsv(355, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 74.7%, 62.7%) |
| CIE-LAB | lab(19.64, 34.78, 17.49) |
| CIE-LCH | lch(19.64, 38.93, 26.70°) |
| OKLab | oklab(32.08% 0.1022 0.0405) |
| OKLCH | oklch(32.08% 0.11 21.6) |
| XYZ | xyz(5.0852, 2.9005, 1.1561) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.85
Rosewood
#65000B
ΔE00 3.82
Dried Blood
#4B0101
ΔE00 4.98
Mahogany
#4A0100
ΔE00 5.19
Maroon (survey)
#650021
ΔE00 5.45
Wine Red
#7B0323
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1118 #115F58
analogous
#5F113F #5F1118 #5F3111
triadic
#5F1118 #185F11 #11185F
tetradic
#5F1118 #3F5F11 #115F58 #31115F
square
#5F1118 #3F5F11 #115F58 #31115F
split-complementary
#5F1118 #115F31 #113F5F
monochromatic
#1A0507 #2B080B #5F1118 #931A25 #C72432
Accessibility & contrast
On white
13.29
#5F1118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1118
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1118 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1118; /* rgb */ color: rgb(95, 17, 24); /* oklch */ color: oklch(32.1% 0.110 21.6);
Tailwind
colors: {
custom: {
50: '#935754',
500: '#5f1118',
950: '#000000',
},
}SCSS
$custom: #5f1118; $custom-light: #935754; $custom-dark: #000000;
JSON
{
"hex": "#5f1118",
"rgb": {
"r": 95,
"g": 17,
"b": 24
},
"hsl": {
"h": 354.615,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32076,
"c": 0.10989,
"h": 21.6
},
"luminance": 0.029
}Semantic roles & 50–950 ramp
primary
#5F1118
secondary
#34988F
accent
#ECDD3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878