#5F1318#5F1318
#5F1318 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 22.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1318 |
|---|---|
| RGB | rgb(95, 19, 24) |
| HSL | hsl(356, 67%, 22%) |
| HSV | hsv(356, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 74.7%, 62.7%) |
| CIE-LAB | lab(19.90, 34.04, 17.81) |
| CIE-LCH | lch(19.90, 38.42, 27.62°) |
| OKLab | oklab(32.27% 0.0998 0.0412) |
| OKLCH | oklch(32.27% 0.108 22.4) |
| XYZ | xyz(5.1176, 2.9654, 1.1669) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.22
Rosewood
#65000B
ΔE00 3.74
Dried Blood
#4B0101
ΔE00 5.00
Mahogany
#4A0100
ΔE00 5.20
Maroon (survey)
#650021
ΔE00 5.89
Wine Red
#7B0323
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1318 #135F5A
analogous
#5F133E #5F1318 #5F3413
triadic
#5F1318 #185F13 #13185F
tetradic
#5F1318 #3E5F13 #135F5A #34135F
square
#5F1318 #3E5F13 #135F5A #34135F
split-complementary
#5F1318 #135F34 #133E5F
monochromatic
#1A0506 #2C090B #5F1318 #921D25 #C52732
Accessibility & contrast
On white
13.18
#5F1318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1318
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1318 | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292618
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1318; /* rgb */ color: rgb(95, 19, 24); /* oklch */ color: oklch(32.3% 0.108 22.4);
Tailwind
colors: {
custom: {
50: '#935854',
500: '#5f1318',
950: '#000000',
},
}SCSS
$custom: #5f1318; $custom-light: #935854; $custom-dark: #000000;
JSON
{
"hex": "#5f1318",
"rgb": {
"r": 95,
"g": 19,
"b": 24
},
"hsl": {
"h": 356.053,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32272,
"c": 0.10798,
"h": 22.4
},
"luminance": 0.02965
}Semantic roles & 50–950 ramp
primary
#5F1318
secondary
#379791
accent
#EADE3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978