#5F1818#5F1818
#5F1818 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.103 H 24.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1818 |
|---|---|
| RGB | rgb(95, 24, 24) |
| HSL | hsl(0, 60%, 23%) |
| HSV | hsv(0, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 74.7%, 62.7%) |
| CIE-LAB | lab(20.65, 31.99, 18.70) |
| CIE-LCH | lch(20.65, 37.06, 30.30°) |
| OKLab | oklab(32.82% 0.0933 0.0432) |
| OKLCH | oklch(32.82% 0.103 24.8) |
| XYZ | xyz(5.2114, 3.1529, 1.1981) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.89
Claret
#680018
ΔE00 4.44
Dried Blood
#4B0101
ΔE00 5.31
Mahogany
#4A0100
ΔE00 5.48
Reddy Brown
#6E1005
ΔE00 6.44
Deep Brown
#410200
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1818 #185F5F
analogous
#5F183B #5F1818 #5F3B18
triadic
#5F1818 #185F18 #18185F
tetradic
#5F1818 #3B5F18 #185F5F #3B185F
square
#5F1818 #3B5F18 #185F5F #3B185F
split-complementary
#5F1818 #185F3B #183B5F
monochromatic
#180606 #2E0C0C #5F1818 #902424 #C13131
Accessibility & contrast
On white
12.88
#5F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F1818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1818
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1818 | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2817
Deuteranopia (green-blind)
#3E3716
Tritanopia (blue-blind)
#690319
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1818; /* rgb */ color: rgb(95, 24, 24); /* oklch */ color: oklch(32.8% 0.103 24.8);
Tailwind
colors: {
custom: {
50: '#925a54',
500: '#5f1818',
950: '#000000',
},
}SCSS
$custom: #5f1818; $custom-light: #925a54; $custom-dark: #000000;
JSON
{
"hex": "#5f1818",
"rgb": {
"r": 95,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.32825,
"c": 0.1028,
"h": 24.8
},
"luminance": 0.03152
}Semantic roles & 50–950 ramp
primary
#5F1818
secondary
#3D9595
accent
#E3E345
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978