#5F154E#5F154E
#5F154E is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.4% C 0.125 H 338.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F154E |
|---|---|
| RGB | rgb(95, 21, 78) |
| HSL | hsl(314, 64%, 23%) |
| HSV | hsv(314, 78%, 37%) |
| CMYK | cmyk(0%, 77.9%, 17.9%, 62.7%) |
| CIE-LAB | lab(22.02, 39.16, -16.62) |
| CIE-LCH | lch(22.02, 42.54, 337.00°) |
| OKLab | oklab(34.42% 0.1162 -0.045) |
| OKLCH | oklch(34.42% 0.125 338.8) |
| XYZ | xyz(6.3628, 3.5199, 7.5506) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.30
Plum (survey)
#580F41
ΔE00 2.95
Rich Purple
#720058
ΔE00 4.14
Velvet
#750851
ΔE00 4.77
Deep Violet
#490648
ΔE00 5.60
Plum Purple
#4E0550
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F154E #155F26
analogous
#4B155F #5F154E #5F1529
triadic
#5F154E #4E5F15 #154E5F
tetradic
#5F154E #5F4B15 #155F26 #15295F
square
#5F154E #5F4B15 #155F26 #15295F
split-complementary
#5F154E #295F15 #155F4B
monochromatic
#190615 #2D0A25 #5F154E #912077 #C32BA0
Accessibility & contrast
On white
12.33
#5F154E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#5F154E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F154E
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F154E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F154E | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192D50
Deuteranopia (green-blind)
#31394C
Tritanopia (blue-blind)
#65182F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f154e; /* rgb */ color: rgb(95, 21, 78); /* oklch */ color: oklch(34.4% 0.125 338.8);
Tailwind
colors: {
custom: {
50: '#8f5b7f',
500: '#5f154e',
950: '#000000',
},
}SCSS
$custom: #5f154e; $custom-light: #8f5b7f; $custom-dark: #000000;
JSON
{
"hex": "#5f154e",
"rgb": {
"r": 95,
"g": 21,
"b": 78
},
"hsl": {
"h": 313.784,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.34422,
"c": 0.12461,
"h": 338.8
},
"luminance": 0.03519
}Semantic roles & 50–950 ramp
primary
#5F154E
secondary
#3A964F
accent
#E76741
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C