#5F1317#5F1317
#5F1317 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 23.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1317 |
|---|---|
| RGB | rgb(95, 19, 23) |
| HSL | hsl(357, 67%, 22%) |
| HSV | hsv(357, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 75.8%, 62.7%) |
| CIE-LAB | lab(19.89, 33.99, 18.47) |
| CIE-LCH | lch(19.89, 38.68, 28.52°) |
| OKLab | oklab(32.26% 0.0994 0.0425) |
| OKLCH | oklch(32.26% 0.108 23.1) |
| XYZ | xyz(5.1074, 2.9613, 1.1131) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.42
Rosewood
#65000B
ΔE00 3.46
Dried Blood
#4B0101
ΔE00 4.89
Mahogany
#4A0100
ΔE00 5.09
Maroon (survey)
#650021
ΔE00 6.29
Wine Red
#7B0323
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1317 #135F5B
analogous
#5F133D #5F1317 #5F3513
triadic
#5F1317 #175F13 #13175F
tetradic
#5F1317 #3D5F13 #135F5B #35135F
square
#5F1317 #3D5F13 #135F5B #35135F
split-complementary
#5F1317 #135F35 #133D5F
monochromatic
#1A0506 #2C090B #5F1317 #921D23 #C52730
Accessibility & contrast
On white
13.19
#5F1317 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1317 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1317
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1317 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1317 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292616
Deuteranopia (green-blind)
#3C3614
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1317; /* rgb */ color: rgb(95, 19, 23); /* oklch */ color: oklch(32.3% 0.108 23.1);
Tailwind
colors: {
custom: {
50: '#935854',
500: '#5f1317',
950: '#000000',
},
}SCSS
$custom: #5f1317; $custom-light: #935854; $custom-dark: #000000;
JSON
{
"hex": "#5f1317",
"rgb": {
"r": 95,
"g": 19,
"b": 23
},
"hsl": {
"h": 356.842,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32255,
"c": 0.10808,
"h": 23.1
},
"luminance": 0.02961
}Semantic roles & 50–950 ramp
primary
#5F1317
secondary
#379792
accent
#EAE13E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978