#5F171E#5F171E
#5F171E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 19.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5F171E |
|---|---|
| RGB | rgb(95, 23, 30) |
| HSL | hsl(354, 61%, 23%) |
| HSV | hsv(354, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 68.4%, 62.7%) |
| CIE-LAB | lab(20.60, 32.80, 14.55) |
| CIE-LCH | lch(20.60, 35.88, 23.92°) |
| OKLab | oklab(32.82% 0.0973 0.0348) |
| OKLCH | oklch(32.82% 0.103 19.7) |
| XYZ | xyz(5.2606, 3.1402, 1.5572) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.60
Maroon (survey)
#650021
ΔE00 4.74
Rosewood
#65000B
ΔE00 5.54
Burgundy (survey)
#610023
ΔE00 5.77
Wine Red
#7B0323
ΔE00 6.02
Dried Blood
#4B0101
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F171E #175F58
analogous
#5F1742 #5F171E #5F3417
triadic
#5F171E #1E5F17 #171E5F
tetradic
#5F171E #425F17 #175F58 #34175F
square
#5F171E #425F17 #175F58 #34175F
split-complementary
#5F171E #175F34 #17425F
monochromatic
#190608 #2E0B0E #5F171E #90232E #C22F3D
Accessibility & contrast
On white
12.90
#5F171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F171E
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F171E | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281E
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#69031A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f171e; /* rgb */ color: rgb(95, 23, 30); /* oklch */ color: oklch(32.8% 0.103 19.7);
Tailwind
colors: {
custom: {
50: '#925a59',
500: '#5f171e',
950: '#000000',
},
}SCSS
$custom: #5f171e; $custom-light: #925a59; $custom-dark: #000000;
JSON
{
"hex": "#5f171e",
"rgb": {
"r": 95,
"g": 23,
"b": 30
},
"hsl": {
"h": 354.167,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.32823,
"c": 0.10331,
"h": 19.7
},
"luminance": 0.03139
}Semantic roles & 50–950 ramp
primary
#5F171E
secondary
#3C968D
accent
#E4D544
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978