#5F1218#5F1218
#5F1218 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 22.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1218 |
|---|---|
| RGB | rgb(95, 18, 24) |
| HSL | hsl(355, 68%, 22%) |
| HSV | hsv(355, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 74.7%, 62.7%) |
| CIE-LAB | lab(19.77, 34.42, 17.65) |
| CIE-LCH | lch(19.77, 38.68, 27.15°) |
| OKLab | oklab(32.17% 0.101 0.0408) |
| OKLCH | oklch(32.17% 0.109 22) |
| XYZ | xyz(5.1011, 2.9322, 1.1614) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.03
Rosewood
#65000B
ΔE00 3.77
Dried Blood
#4B0101
ΔE00 4.98
Mahogany
#4A0100
ΔE00 5.19
Maroon (survey)
#650021
ΔE00 5.66
Wine Red
#7B0323
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1218 #125F59
analogous
#5F123F #5F1218 #5F3312
triadic
#5F1218 #185F12 #12185F
tetradic
#5F1218 #3F5F12 #125F59 #33125F
square
#5F1218 #3F5F12 #125F59 #33125F
split-complementary
#5F1218 #125F33 #123F5F
monochromatic
#1A0506 #2C080B #5F1218 #921C25 #C62532
Accessibility & contrast
On white
13.24
#5F1218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1218
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1218 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292518
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1218; /* rgb */ color: rgb(95, 18, 24); /* oklch */ color: oklch(32.2% 0.109 22.0);
Tailwind
colors: {
custom: {
50: '#935854',
500: '#5f1218',
950: '#000000',
},
}SCSS
$custom: #5f1218; $custom-light: #935854; $custom-dark: #000000;
JSON
{
"hex": "#5f1218",
"rgb": {
"r": 95,
"g": 18,
"b": 24
},
"hsl": {
"h": 355.325,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32172,
"c": 0.10894,
"h": 22
},
"luminance": 0.02931
}Semantic roles & 50–950 ramp
primary
#5F1218
secondary
#369790
accent
#EBDD3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878