#8F2471#8F2471
#8F2471 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.164 H 341.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2471 |
|---|---|
| RGB | rgb(143, 36, 113) |
| HSL | hsl(317, 60%, 35%) |
| HSV | hsv(317, 75%, 56%) |
| CMYK | cmyk(0%, 74.8%, 21%, 43.9%) |
| CIE-LAB | lab(34.59, 51.78, -19.26) |
| CIE-LCH | lch(34.59, 55.24, 339.60°) |
| OKLab | oklab(45.78% 0.1552 -0.0518) |
| OKLCH | oklch(45.78% 0.164 341.5) |
| XYZ | xyz(14.9397, 8.2952, 16.4339) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.26
Warm Purple
#952E8F
ΔE00 6.04
Bruise
#7E4071
ΔE00 6.33
Darkish Purple
#751973
ΔE00 6.90
Deep Magenta
#A0025C
ΔE00 6.97
Dark Magenta
#960056
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2471 #248F42
analogous
#77248F #8F2471 #8F243C
triadic
#8F2471 #718F24 #24718F
tetradic
#8F2471 #8F7724 #248F42 #243C8F
square
#8F2471 #8F7724 #248F42 #243C8F
split-complementary
#8F2471 #3C8F24 #248F77
monochromatic
#2D0B24 #5E184A #8F2471 #C03098 #D558B2
Accessibility & contrast
On white
7.90
#8F2471 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F2471 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2471
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2471 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2471 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#982647
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2471; /* rgb */ color: rgb(143, 36, 113); /* oklch */ color: oklch(45.8% 0.164 341.5);
Tailwind
colors: {
custom: {
50: '#b36a9a',
500: '#8f2471',
950: '#000000',
},
}SCSS
$custom: #8f2471; $custom-light: #b36a9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2471",
"rgb": {
"r": 143,
"g": 36,
"b": 113
},
"hsl": {
"h": 316.822,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.45778,
"c": 0.16359,
"h": 341.5
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#8F2471
secondary
#55B971
accent
#E37145
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E