#5F1217#5F1217
#5F1217 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 22.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1217 |
|---|---|
| RGB | rgb(95, 18, 23) |
| HSL | hsl(356, 68%, 22%) |
| HSV | hsv(356, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 75.8%, 62.7%) |
| CIE-LAB | lab(19.75, 34.36, 18.31) |
| CIE-LCH | lch(19.75, 38.94, 28.05°) |
| OKLab | oklab(32.16% 0.1006 0.0421) |
| OKLCH | oklch(32.16% 0.109 22.7) |
| XYZ | xyz(5.0909, 2.9282, 1.1076) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.21
Rosewood
#65000B
ΔE00 3.47
Dried Blood
#4B0101
ΔE00 4.86
Mahogany
#4A0100
ΔE00 5.06
Maroon (survey)
#650021
ΔE00 6.06
Wine Red
#7B0323
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1217 #125F5A
analogous
#5F123E #5F1217 #5F3412
triadic
#5F1217 #175F12 #12175F
tetradic
#5F1217 #3E5F12 #125F5A #34125F
square
#5F1217 #3E5F12 #125F5A #34125F
split-complementary
#5F1217 #125F34 #123E5F
monochromatic
#1A0506 #2C080B #5F1217 #921C23 #C62530
Accessibility & contrast
On white
13.25
#5F1217 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1217 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1217
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1217 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1217 | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292516
Deuteranopia (green-blind)
#3C3614
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1217; /* rgb */ color: rgb(95, 18, 23); /* oklch */ color: oklch(32.2% 0.109 22.7);
Tailwind
colors: {
custom: {
50: '#935753',
500: '#5f1217',
950: '#000000',
},
}SCSS
$custom: #5f1217; $custom-light: #935753; $custom-dark: #000000;
JSON
{
"hex": "#5f1217",
"rgb": {
"r": 95,
"g": 18,
"b": 23
},
"hsl": {
"h": 356.104,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32155,
"c": 0.10904,
"h": 22.7
},
"luminance": 0.02927
}Semantic roles & 50–950 ramp
primary
#5F1217
secondary
#369791
accent
#EBE03D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878