#5F1117#5F1117
#5F1117 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 22.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1117 |
|---|---|
| RGB | rgb(95, 17, 23) |
| HSL | hsl(355, 70%, 22%) |
| HSV | hsv(355, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 75.8%, 62.7%) |
| CIE-LAB | lab(19.62, 34.73, 18.16) |
| CIE-LCH | lch(19.62, 39.19, 27.60°) |
| OKLab | oklab(32.06% 0.1017 0.0418) |
| OKLCH | oklch(32.06% 0.11 22.3) |
| XYZ | xyz(5.0750, 2.8964, 1.1023) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.02
Rosewood
#65000B
ΔE00 3.49
Dried Blood
#4B0101
ΔE00 4.84
Mahogany
#4A0100
ΔE00 5.05
Maroon (survey)
#650021
ΔE00 5.84
Wine Red
#7B0323
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1117 #115F59
analogous
#5F113E #5F1117 #5F3211
triadic
#5F1117 #175F11 #11175F
tetradic
#5F1117 #3E5F11 #115F59 #32115F
square
#5F1117 #3E5F11 #115F59 #32115F
split-complementary
#5F1117 #115F32 #113E5F
monochromatic
#1A0506 #2B080A #5F1117 #931A24 #C72430
Accessibility & contrast
On white
13.30
#5F1117 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5F1117 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1117
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1117 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282517
Deuteranopia (green-blind)
#3C3514
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f1117; /* rgb */ color: rgb(95, 17, 23); /* oklch */ color: oklch(32.1% 0.110 22.3);
Tailwind
colors: {
custom: {
50: '#935753',
500: '#5f1117',
950: '#000000',
},
}SCSS
$custom: #5f1117; $custom-light: #935753; $custom-dark: #000000;
JSON
{
"hex": "#5f1117",
"rgb": {
"r": 95,
"g": 17,
"b": 23
},
"hsl": {
"h": 355.385,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32058,
"c": 0.10997,
"h": 22.3
},
"luminance": 0.02896
}Semantic roles & 50–950 ramp
primary
#5F1117
secondary
#349890
accent
#ECDF3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878