#5F1952#5F1952
#5F1952 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.122 H 336.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1952 |
|---|---|
| RGB | rgb(95, 25, 82) |
| HSL | hsl(311, 58%, 24%) |
| HSV | hsv(311, 74%, 37%) |
| CMYK | cmyk(0%, 73.7%, 13.7%, 62.7%) |
| CIE-LAB | lab(22.79, 38.23, -18.12) |
| CIE-LCH | lch(22.79, 42.31, 334.64°) |
| OKLab | oklab(35.05% 0.112 -0.0493) |
| OKLCH | oklch(35.05% 0.122 336.2) |
| XYZ | xyz(6.5900, 3.7379, 8.3554) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.00
Plum (survey)
#580F41
ΔE00 3.89
Rich Purple
#720058
ΔE00 4.34
Velvet
#750851
ΔE00 5.28
Plum Purple
#4E0550
ΔE00 5.42
Deep Violet
#490648
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1952 #195F26
analogous
#49195F #5F1952 #5F192F
triadic
#5F1952 #525F19 #19525F
tetradic
#5F1952 #5F4919 #195F26 #192F5F
square
#5F1952 #5F4919 #195F26 #192F5F
split-complementary
#5F1952 #2F5F19 #195F49
monochromatic
#180615 #2F0C28 #5F1952 #8F267C #C032A6
Accessibility & contrast
On white
12.02
#5F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#5F1952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1952
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1952 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3054
Deuteranopia (green-blind)
#313A50
Tritanopia (blue-blind)
#641D33
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5f1952; /* rgb */ color: rgb(95, 25, 82); /* oklch */ color: oklch(35.0% 0.122 336.2);
Tailwind
colors: {
custom: {
50: '#8f5d83',
500: '#5f1952',
950: '#000000',
},
}SCSS
$custom: #5f1952; $custom-light: #8f5d83; $custom-dark: #000000;
JSON
{
"hex": "#5f1952",
"rgb": {
"r": 95,
"g": 25,
"b": 82
},
"hsl": {
"h": 311.143,
"s": 58.333,
"l": 23.529
},
"oklch": {
"l": 0.35047,
"c": 0.12241,
"h": 336.2
},
"luminance": 0.03737
}Semantic roles & 50–950 ramp
primary
#5F1952
secondary
#3F954F
accent
#E26346
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C