#8F2873#8F2873
#8F2873 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 340.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2873 |
|---|---|
| RGB | rgb(143, 40, 115) |
| HSL | hsl(316, 56%, 36%) |
| HSV | hsv(316, 72%, 56%) |
| CMYK | cmyk(0%, 72%, 19.6%, 43.9%) |
| CIE-LAB | lab(35.20, 50.62, -19.59) |
| CIE-LCH | lch(35.20, 54.27, 338.85°) |
| OKLab | oklab(46.25% 0.1511 -0.0527) |
| OKLCH | oklch(46.25% 0.16 340.8) |
| XYZ | xyz(15.1814, 8.5965, 17.0761) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.70
Warm Purple
#952E8F
ΔE00 5.62
Bruise
#7E4071
ΔE00 5.87
Light Eggplant
#894585
ΔE00 6.65
Darkish Purple
#751973
ΔE00 7.04
Deep Magenta
#A0025C
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2873 #288F44
analogous
#77288F #8F2873 #8F283F
triadic
#8F2873 #738F28 #28738F
tetradic
#8F2873 #8F7728 #288F44 #283F8F
square
#8F2873 #8F7728 #288F44 #283F8F
split-complementary
#8F2873 #3F8F28 #288F77
monochromatic
#2F0D26 #5F1B4D #8F2873 #BF3599 #D25FB3
Accessibility & contrast
On white
7.72
#8F2873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#8F2873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2873
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2873 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#982A4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f2873; /* rgb */ color: rgb(143, 40, 115); /* oklch */ color: oklch(46.2% 0.160 340.8);
Tailwind
colors: {
custom: {
50: '#b36b9b',
500: '#8f2873',
950: '#000000',
},
}SCSS
$custom: #8f2873; $custom-light: #b36b9b; $custom-dark: #000000;
JSON
{
"hex": "#8f2873",
"rgb": {
"r": 143,
"g": 40,
"b": 115
},
"hsl": {
"h": 316.311,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.46248,
"c": 0.16006,
"h": 340.8
},
"luminance": 0.08595
}Semantic roles & 50–950 ramp
primary
#8F2873
secondary
#5BB874
accent
#E07148
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E