#8F2571#8F2571
#8F2571 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 341.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2571 |
|---|---|
| RGB | rgb(143, 37, 113) |
| HSL | hsl(317, 59%, 35%) |
| HSV | hsv(317, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 21%, 43.9%) |
| CIE-LAB | lab(34.71, 51.43, -19.07) |
| CIE-LCH | lch(34.71, 54.85, 339.66°) |
| OKLab | oklab(45.87% 0.1541 -0.0512) |
| OKLCH | oklch(45.87% 0.162 341.6) |
| XYZ | xyz(14.9704, 8.3565, 16.4441) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.29
Warm Purple
#952E8F
ΔE00 6.04
Bruise
#7E4071
ΔE00 6.21
Deep Magenta
#A0025C
ΔE00 6.96
Darkish Purple
#751973
ΔE00 7.00
Dark Magenta
#960056
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2571 #258F43
analogous
#78258F #8F2571 #8F253C
triadic
#8F2571 #718F25 #25718F
tetradic
#8F2571 #8F7825 #258F43 #253C8F
square
#8F2571 #8F7825 #258F43 #253C8F
split-complementary
#8F2571 #3C8F25 #258F78
monochromatic
#2E0C24 #5E184B #8F2571 #C03297 #D45AB2
Accessibility & contrast
On white
7.86
#8F2571 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#8F2571 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2571
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2571 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2571 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#982748
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f2571; /* rgb */ color: rgb(143, 37, 113); /* oklch */ color: oklch(45.9% 0.162 341.6);
Tailwind
colors: {
custom: {
50: '#b36a9a',
500: '#8f2571',
950: '#000000',
},
}SCSS
$custom: #8f2571; $custom-light: #b36a9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2571",
"rgb": {
"r": 143,
"g": 37,
"b": 113
},
"hsl": {
"h": 316.981,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.45869,
"c": 0.16241,
"h": 341.6
},
"luminance": 0.08355
}Semantic roles & 50–950 ramp
primary
#8F2571
secondary
#57B973
accent
#E27246
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E