#5F1050#5F1050
#5F1050 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.1% C 0.132 H 337.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1050 |
|---|---|
| RGB | rgb(95, 16, 80) |
| HSL | hsl(311, 71%, 22%) |
| HSV | hsv(311, 83%, 37%) |
| CMYK | cmyk(0%, 83.2%, 15.8%, 62.7%) |
| CIE-LAB | lab(21.52, 41.20, -18.75) |
| CIE-LCH | lch(21.52, 45.27, 335.53°) |
| OKLab | oklab(34.1% 0.1216 -0.051) |
| OKLCH | oklch(34.1% 0.132 337.2) |
| XYZ | xyz(6.3527, 3.3833, 7.9063) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.76
Plum (survey)
#580F41
ΔE00 3.61
Rich Purple
#720058
ΔE00 3.81
Plum Purple
#4E0550
ΔE00 4.80
Deep Violet
#490648
ΔE00 4.99
Velvet
#750851
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1050 #105F1F
analogous
#47105F #5F1050 #5F1029
triadic
#5F1050 #505F10 #10505F
tetradic
#5F1050 #5F4710 #105F1F #10295F
square
#5F1050 #5F4710 #105F1F #10295F
split-complementary
#5F1050 #295F10 #105F47
monochromatic
#1A0416 #2B0724 #5F1050 #93197C #C822A8
Accessibility & contrast
On white
12.53
#5F1050 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#5F1050 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1050
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1050 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1050 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#65152F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f1050; /* rgb */ color: rgb(95, 16, 80); /* oklch */ color: oklch(34.1% 0.132 337.2);
Tailwind
colors: {
custom: {
50: '#905981',
500: '#5f1050',
950: '#000000',
},
}SCSS
$custom: #5f1050; $custom-light: #905981; $custom-dark: #000000;
JSON
{
"hex": "#5f1050",
"rgb": {
"r": 95,
"g": 16,
"b": 80
},
"hsl": {
"h": 311.392,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.34097,
"c": 0.13191,
"h": 337.2
},
"luminance": 0.03383
}Semantic roles & 50–950 ramp
primary
#5F1050
secondary
#339846
accent
#EE5C3A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C