#5F173C#5F173C
#5F173C is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.110 H 353.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5F173C |
|---|---|
| RGB | rgb(95, 23, 60) |
| HSL | hsl(329, 61%, 23%) |
| HSV | hsv(329, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 36.8%, 62.7%) |
| CIE-LAB | lab(21.48, 35.78, -5.13) |
| CIE-LCH | lch(21.48, 36.14, 351.84°) |
| OKLab | oklab(33.76% 0.1095 -0.0131) |
| OKLCH | oklch(33.76% 0.11 353.2) |
| XYZ | xyz(5.8417, 3.3726, 4.6174) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.05
Merlot
#730039
ΔE00 5.29
Velvet
#750851
ΔE00 6.18
Red Purple
#820747
ΔE00 7.06
Grape Purple
#5D1451
ΔE00 7.15
Wine (survey)
#80013F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F173C #175F3A
analogous
#5E175F #5F173C #5F1718
triadic
#5F173C #3C5F17 #173C5F
tetradic
#5F173C #5F5E17 #175F3A #17185F
square
#5F173C #5F5E17 #175F3A #17185F
split-complementary
#5F173C #185F17 #175F5E
monochromatic
#190610 #2E0B1D #5F173C #90235B #C22F7A
Accessibility & contrast
On white
12.54
#5F173C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#5F173C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F173C
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F173C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F173C | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#38383A
Tritanopia (blue-blind)
#671127
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f173c; /* rgb */ color: rgb(95, 23, 60); /* oklch */ color: oklch(33.8% 0.110 353.2);
Tailwind
colors: {
custom: {
50: '#905b71',
500: '#5f173c',
950: '#000000',
},
}SCSS
$custom: #5f173c; $custom-light: #905b71; $custom-dark: #000000;
JSON
{
"hex": "#5f173c",
"rgb": {
"r": 95,
"g": 23,
"b": 60
},
"hsl": {
"h": 329.167,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.33762,
"c": 0.11029,
"h": 353.2
},
"luminance": 0.03372
}Semantic roles & 50–950 ramp
primary
#5F173C
secondary
#3C9668
accent
#E49244
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A