#8D2F71#8D2F71
#8D2F71 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.148 H 341.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2F71 |
|---|---|
| RGB | rgb(141, 47, 113) |
| HSL | hsl(318, 50%, 37%) |
| HSV | hsv(318, 67%, 55%) |
| CMYK | cmyk(0%, 66.7%, 19.9%, 44.7%) |
| CIE-LAB | lab(35.77, 46.95, -17.47) |
| CIE-LCH | lch(35.77, 50.09, 339.59°) |
| OKLab | oklab(46.57% 0.1401 -0.0469) |
| OKLCH | oklch(46.57% 0.148 341.5) |
| XYZ | xyz(14.9821, 8.8894, 16.5464) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.77
Red Violet
#9E0168
ΔE00 5.21
Light Eggplant
#894585
ΔE00 6.07
Warm Purple
#952E8F
ΔE00 6.24
Grape
#6C3461
ΔE00 6.97
Deep Magenta
#A0025C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2F71 #2F8D4B
analogous
#7A2F8D #8D2F71 #8D2F42
triadic
#8D2F71 #718D2F #2F718D
tetradic
#8D2F71 #8D7A2F #2F8D4B #2F428D
square
#8D2F71 #8D7A2F #2F8D4B #2F428D
split-complementary
#8D2F71 #428D2F #2F8D7A
monochromatic
#311027 #5F204C #8D2F71 #BB3E96 #CD69AF
Accessibility & contrast
On white
7.56
#8D2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8D2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2F71
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2F71 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#95304B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8d2f71; /* rgb */ color: rgb(141, 47, 113); /* oklch */ color: oklch(46.6% 0.148 341.5);
Tailwind
colors: {
custom: {
50: '#b16e9a',
500: '#8d2f71',
950: '#000000',
},
}SCSS
$custom: #8d2f71; $custom-light: #b16e9a; $custom-dark: #000000;
JSON
{
"hex": "#8d2f71",
"rgb": {
"r": 141,
"g": 47,
"b": 113
},
"hsl": {
"h": 317.872,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.46572,
"c": 0.14774,
"h": 341.5
},
"luminance": 0.08888
}Semantic roles & 50–950 ramp
primary
#8D2F71
secondary
#64B47C
accent
#DA784E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E