#8F2972#8F2972
#8F2972 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.158 H 341.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2972 |
|---|---|
| RGB | rgb(143, 41, 114) |
| HSL | hsl(317, 55%, 36%) |
| HSV | hsv(317, 71%, 56%) |
| CMYK | cmyk(0%, 71.3%, 20.3%, 43.9%) |
| CIE-LAB | lab(35.29, 50.09, -18.82) |
| CIE-LCH | lch(35.29, 53.51, 339.41°) |
| OKLab | oklab(46.3% 0.1498 -0.0506) |
| OKLCH | oklch(46.3% 0.158 341.3) |
| XYZ | xyz(15.1583, 8.6419, 16.7861) |
| Luminance | 0.0864 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Bruise
#7E4071
ΔE00 5.73
Warm Purple
#952E8F
ΔE00 5.87
Light Eggplant
#894585
ΔE00 6.65
Deep Magenta
#A0025C
ΔE00 7.15
Dark Magenta
#960056
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2972 #298F46
analogous
#79298F #8F2972 #8F293F
triadic
#8F2972 #728F29 #29728F
tetradic
#8F2972 #8F7929 #298F46 #293F8F
square
#8F2972 #8F7929 #298F46 #293F8F
split-complementary
#8F2972 #3F8F29 #298F79
monochromatic
#300E26 #5F1B4C #8F2972 #BF3798 #D261B2
Accessibility & contrast
On white
7.70
#8F2972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8F2972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2972
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2972 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#982B4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f2972; /* rgb */ color: rgb(143, 41, 114); /* oklch */ color: oklch(46.3% 0.158 341.3);
Tailwind
colors: {
custom: {
50: '#b36c9a',
500: '#8f2972',
950: '#000000',
},
}SCSS
$custom: #8f2972; $custom-light: #b36c9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2972",
"rgb": {
"r": 143,
"g": 41,
"b": 114
},
"hsl": {
"h": 317.059,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.46299,
"c": 0.1581,
"h": 341.3
},
"luminance": 0.0864
}Semantic roles & 50–950 ramp
primary
#8F2972
secondary
#5CB776
accent
#DF7449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E