#5F1350#5F1350
#5F1350 is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.3% C 0.129 H 337.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1350 |
|---|---|
| RGB | rgb(95, 19, 80) |
| HSL | hsl(312, 67%, 22%) |
| HSV | hsv(312, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 15.8%, 62.7%) |
| CIE-LAB | lab(21.87, 40.20, -18.21) |
| CIE-LCH | lch(21.87, 44.13, 335.63°) |
| OKLab | oklab(34.35% 0.1187 -0.0495) |
| OKLCH | oklch(34.35% 0.129 337.4) |
| XYZ | xyz(6.4003, 3.4784, 7.9222) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.67
Plum (survey)
#580F41
ΔE00 3.49
Rich Purple
#720058
ΔE00 3.93
Velvet
#750851
ΔE00 5.01
Plum Purple
#4E0550
ΔE00 5.06
Deep Violet
#490648
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1350 #135F22
analogous
#48135F #5F1350 #5F132A
triadic
#5F1350 #505F13 #13505F
tetradic
#5F1350 #5F4813 #135F22 #132A5F
square
#5F1350 #5F4813 #135F22 #132A5F
split-complementary
#5F1350 #2A5F13 #135F48
monochromatic
#1A0515 #2C0925 #5F1350 #921D7B #C527A6
Accessibility & contrast
On white
12.38
#5F1350 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#5F1350 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1350
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1350 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1350 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162D52
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#651830
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f1350; /* rgb */ color: rgb(95, 19, 80); /* oklch */ color: oklch(34.3% 0.129 337.4);
Tailwind
colors: {
custom: {
50: '#8f5a81',
500: '#5f1350',
950: '#000000',
},
}SCSS
$custom: #5f1350; $custom-light: #8f5a81; $custom-dark: #000000;
JSON
{
"hex": "#5f1350",
"rgb": {
"r": 95,
"g": 19,
"b": 80
},
"hsl": {
"h": 311.842,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.34348,
"c": 0.12857,
"h": 337.4
},
"luminance": 0.03478
}Semantic roles & 50–950 ramp
primary
#5F1350
secondary
#37974A
accent
#EA603E
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C