#5F172E#5F172E
#5F172E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.105 H 5.7°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5F172E |
|---|---|
| RGB | rgb(95, 23, 46) |
| HSL | hsl(341, 61%, 23%) |
| HSV | hsv(341, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 51.6%, 62.7%) |
| CIE-LAB | lab(20.99, 34.16, 3.92) |
| CIE-LCH | lch(20.99, 34.39, 6.55°) |
| OKLab | oklab(33.25% 0.1043 0.0103) |
| OKLCH | oklch(33.25% 0.105 5.7) |
| XYZ | xyz(5.5193, 3.2437, 2.9197) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.79
Maroon (survey)
#650021
ΔE00 4.88
Merlot
#730039
ΔE00 5.43
Bordeaux
#7B002C
ΔE00 6.68
Wine (survey)
#80013F
ΔE00 7.24
Wine
#722F37
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F172E #175F48
analogous
#5F1752 #5F172E #5F2417
triadic
#5F172E #2E5F17 #172E5F
tetradic
#5F172E #525F17 #175F48 #24175F
square
#5F172E #525F17 #175F48 #24175F
split-complementary
#5F172E #175F24 #17525F
monochromatic
#19060C #2E0B16 #5F172E #902346 #C22F5E
Accessibility & contrast
On white
12.74
#5F172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F172E
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F172E | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292F
Deuteranopia (green-blind)
#3B382C
Tritanopia (blue-blind)
#680A20
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f172e; /* rgb */ color: rgb(95, 23, 46); /* oklch */ color: oklch(33.2% 0.105 5.7);
Tailwind
colors: {
custom: {
50: '#915a66',
500: '#5f172e',
950: '#000000',
},
}SCSS
$custom: #5f172e; $custom-light: #915a66; $custom-dark: #000000;
JSON
{
"hex": "#5f172e",
"rgb": {
"r": 95,
"g": 23,
"b": 46
},
"hsl": {
"h": 340.833,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.33247,
"c": 0.1048,
"h": 5.7
},
"luminance": 0.03243
}Semantic roles & 50–950 ramp
primary
#5F172E
secondary
#3C9679
accent
#E4B144
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A