#8F2572#8F2572
#8F2572 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 341.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2572 |
|---|---|
| RGB | rgb(143, 37, 114) |
| HSL | hsl(316, 59%, 35%) |
| HSV | hsv(316, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 20.3%, 43.9%) |
| CIE-LAB | lab(34.76, 51.57, -19.63) |
| CIE-LCH | lch(34.76, 55.18, 339.16°) |
| OKLab | oklab(45.92% 0.1543 -0.0528) |
| OKLCH | oklch(45.92% 0.163 341.1) |
| XYZ | xyz(15.0270, 8.3792, 16.7423) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.44
Warm Purple
#952E8F
ΔE00 5.82
Bruise
#7E4071
ΔE00 6.22
Darkish Purple
#751973
ΔE00 6.86
Light Eggplant
#894585
ΔE00 7.08
Deep Magenta
#A0025C
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2572 #258F42
analogous
#77258F #8F2572 #8F253D
triadic
#8F2572 #728F25 #25728F
tetradic
#8F2572 #8F7725 #258F42 #253D8F
square
#8F2572 #8F7725 #258F42 #253D8F
split-complementary
#8F2572 #3D8F25 #258F77
monochromatic
#2E0C24 #5E184B #8F2572 #C03299 #D45AB3
Accessibility & contrast
On white
7.85
#8F2572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8F2572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2572
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2572 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#982748
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f2572; /* rgb */ color: rgb(143, 37, 114); /* oklch */ color: oklch(45.9% 0.163 341.1);
Tailwind
colors: {
custom: {
50: '#b36a9a',
500: '#8f2572',
950: '#000000',
},
}SCSS
$custom: #8f2572; $custom-light: #b36a9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2572",
"rgb": {
"r": 143,
"g": 37,
"b": 114
},
"hsl": {
"h": 316.415,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.45917,
"c": 0.16307,
"h": 341.1
},
"luminance": 0.08378
}Semantic roles & 50–950 ramp
primary
#8F2572
secondary
#57B972
accent
#E27046
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E