#8F2871#8F2871
#8F2871 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.159 H 341.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2871 |
|---|---|
| RGB | rgb(143, 40, 113) |
| HSL | hsl(317, 56%, 36%) |
| HSV | hsv(317, 72%, 56%) |
| CMYK | cmyk(0%, 72%, 21%, 43.9%) |
| CIE-LAB | lab(35.10, 50.33, -18.47) |
| CIE-LCH | lch(35.10, 53.61, 339.85°) |
| OKLab | oklab(46.15% 0.1508 -0.0496) |
| OKLCH | oklch(46.15% 0.159 341.8) |
| XYZ | xyz(15.0676, 8.5510, 16.4766) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Bruise
#7E4071
ΔE00 5.85
Warm Purple
#952E8F
ΔE00 6.08
Light Eggplant
#894585
ΔE00 6.88
Deep Magenta
#A0025C
ΔE00 6.95
Dark Magenta
#960056
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2871 #288F46
analogous
#79288F #8F2871 #8F283D
triadic
#8F2871 #718F28 #28718F
tetradic
#8F2871 #8F7928 #288F46 #283D8F
square
#8F2871 #8F7928 #288F46 #283D8F
split-complementary
#8F2871 #3D8F28 #288F79
monochromatic
#2F0D25 #5F1B4B #8F2871 #BF3597 #D25FB1
Accessibility & contrast
On white
7.75
#8F2871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8F2871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2871
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2871 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#982949
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f2871; /* rgb */ color: rgb(143, 40, 113); /* oklch */ color: oklch(46.2% 0.159 341.8);
Tailwind
colors: {
custom: {
50: '#b36b9a',
500: '#8f2871',
950: '#000000',
},
}SCSS
$custom: #8f2871; $custom-light: #b36b9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2871",
"rgb": {
"r": 143,
"g": 40,
"b": 113
},
"hsl": {
"h": 317.476,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.46153,
"c": 0.1587,
"h": 341.8
},
"luminance": 0.08549
}Semantic roles & 50–950 ramp
primary
#8F2871
secondary
#5BB876
accent
#E07448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E