#8F2D72#8F2D72
#8F2D72 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.153 H 341.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2D72 |
|---|---|
| RGB | rgb(143, 45, 114) |
| HSL | hsl(318, 52%, 37%) |
| HSV | hsv(318, 69%, 56%) |
| CMYK | cmyk(0%, 68.5%, 20.3%, 43.9%) |
| CIE-LAB | lab(35.85, 48.50, -17.94) |
| CIE-LCH | lch(35.85, 51.71, 339.70°) |
| OKLab | oklab(46.71% 0.145 -0.0481) |
| OKLCH | oklch(46.71% 0.153 341.6) |
| XYZ | xyz(15.3038, 8.9328, 16.8345) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.88
Bruise
#7E4071
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 6.00
Light Eggplant
#894585
ΔE00 6.24
Deep Magenta
#A0025C
ΔE00 7.20
Grape
#6C3461
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2D72 #2D8F4A
analogous
#7B2D8F #8F2D72 #8F2D41
triadic
#8F2D72 #728F2D #2D728F
tetradic
#8F2D72 #8F7B2D #2D8F4A #2D418F
square
#8F2D72 #8F7B2D #2D8F4A #2D418F
split-complementary
#8F2D72 #418F2D #2D8F7B
monochromatic
#321028 #601E4D #8F2D72 #BE3C97 #CF67B0
Accessibility & contrast
On white
7.54
#8F2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#8F2D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2D72
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2D72 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#982E4B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8f2d72; /* rgb */ color: rgb(143, 45, 114); /* oklch */ color: oklch(46.7% 0.153 341.6);
Tailwind
colors: {
custom: {
50: '#b36e9a',
500: '#8f2d72',
950: '#000000',
},
}SCSS
$custom: #8f2d72; $custom-light: #b36e9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2d72",
"rgb": {
"r": 143,
"g": 45,
"b": 114
},
"hsl": {
"h": 317.755,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.46714,
"c": 0.15275,
"h": 341.6
},
"luminance": 0.08931
}Semantic roles & 50–950 ramp
primary
#8F2D72
secondary
#62B67B
accent
#DC774C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E