#8F1571#8F1571
#8F1571 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.178 H 340.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1571 |
|---|---|
| RGB | rgb(143, 21, 113) |
| HSL | hsl(315, 74%, 32%) |
| HSV | hsv(315, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 21%, 43.9%) |
| CIE-LAB | lab(33.07, 56.13, -21.62) |
| CIE-LCH | lch(33.07, 60.15, 338.93°) |
| OKLab | oklab(44.68% 0.1685 -0.0583) |
| OKLCH | oklch(44.68% 0.178 340.9) |
| XYZ | xyz(14.5770, 7.5698, 16.3130) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.32
Darkish Purple
#751973
ΔE00 5.96
Darkmagenta
#8B008B
ΔE00 6.29
Purple
#800080
ΔE00 6.30
Warm Purple
#952E8F
ΔE00 6.33
Rich Purple
#720058
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1571 #158F33
analogous
#70158F #8F1571 #8F1534
triadic
#8F1571 #718F15 #15718F
tetradic
#8F1571 #8F7015 #158F33 #15348F
square
#8F1571 #8F7015 #158F33 #15348F
split-complementary
#8F1571 #348F15 #158F70
monochromatic
#24051D #5A0D47 #8F1571 #C41D9B #E23CB9
Accessibility & contrast
On white
8.35
#8F1571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8F1571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1571
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1571 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224273
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#981943
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1571; /* rgb */ color: rgb(143, 21, 113); /* oklch */ color: oklch(44.7% 0.178 340.9);
Tailwind
colors: {
custom: {
50: '#b4649a',
500: '#8f1571',
950: '#000000',
},
}SCSS
$custom: #8f1571; $custom-light: #b4649a; $custom-dark: #000000;
JSON
{
"hex": "#8f1571",
"rgb": {
"r": 143,
"g": 21,
"b": 113
},
"hsl": {
"h": 314.754,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.44681,
"c": 0.17829,
"h": 340.9
},
"luminance": 0.07568
}Semantic roles & 50–950 ramp
primary
#8F1571
secondary
#3EC25E
accent
#F16537
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E