#5F1F4E#5F1F4E
#5F1F4E is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.110 H 339.6°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1F4E |
|---|---|
| RGB | rgb(95, 31, 78) |
| HSL | hsl(316, 51%, 25%) |
| HSV | hsv(316, 67%, 37%) |
| CMYK | cmyk(0%, 67.4%, 17.9%, 62.7%) |
| CIE-LAB | lab(23.55, 34.88, -14.24) |
| CIE-LCH | lch(23.55, 37.67, 337.78°) |
| OKLab | oklab(35.54% 0.1033 -0.0384) |
| OKLCH | oklch(35.54% 0.11 339.6) |
| XYZ | xyz(6.5846, 3.9635, 7.6245) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 2.96
Plum (survey)
#580F41
ΔE00 3.47
Velvet
#750851
ΔE00 5.28
Rich Purple
#720058
ΔE00 5.39
Grape
#6C3461
ΔE00 5.61
Deep Violet
#490648
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1F4E #1F5F30
analogous
#501F5F #5F1F4E #5F1F2E
triadic
#5F1F4E #4E5F1F #1F4E5F
tetradic
#5F1F4E #5F501F #1F5F30 #1F2E5F
square
#5F1F4E #5F501F #1F5F30 #1F2E5F
split-complementary
#5F1F4E #2E5F1F #1F5F50
monochromatic
#170813 #311028 #5F1F4E #8D2E74 #BB3D9A
Accessibility & contrast
On white
11.71
#5F1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#5F1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1F4E
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1F4E | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#363C4C
Tritanopia (blue-blind)
#652133
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #5f1f4e; /* rgb */ color: rgb(95, 31, 78); /* oklch */ color: oklch(35.5% 0.110 339.6);
Tailwind
colors: {
custom: {
50: '#8f5f7f',
500: '#5f1f4e',
950: '#000000',
},
}SCSS
$custom: #5f1f4e; $custom-light: #8f5f7f; $custom-dark: #000000;
JSON
{
"hex": "#5f1f4e",
"rgb": {
"r": 95,
"g": 31,
"b": 78
},
"hsl": {
"h": 315.938,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.35539,
"c": 0.11022,
"h": 339.6
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#5F1F4E
secondary
#46945B
accent
#DA734E
background
#F9F5F7
surface
#F1EAEE
border
#CBC6C9
text
#0D050A
muted
#7E797C