#8D2C71#8D2C71
#8D2C71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.152 H 341.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2C71 |
|---|---|
| RGB | rgb(141, 44, 113) |
| HSL | hsl(317, 52%, 36%) |
| HSV | hsv(317, 69%, 55%) |
| CMYK | cmyk(0%, 68.8%, 19.9%, 44.7%) |
| CIE-LAB | lab(35.32, 48.20, -18.17) |
| CIE-LCH | lch(35.32, 51.51, 339.35°) |
| OKLab | oklab(46.24% 0.1439 -0.0488) |
| OKLCH | oklch(46.24% 0.152 341.3) |
| XYZ | xyz(14.8662, 8.6577, 16.5078) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.96
Bruise
#7E4071
ΔE00 5.18
Warm Purple
#952E8F
ΔE00 6.09
Light Eggplant
#894585
ΔE00 6.38
Grape
#6C3461
ΔE00 7.06
Deep Magenta
#A0025C
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2C71 #2C8D48
analogous
#792C8D #8D2C71 #8D2C41
triadic
#8D2C71 #718D2C #2C718D
tetradic
#8D2C71 #8D792C #2C8D48 #2C418D
square
#8D2C71 #8D792C #2C8D48 #2C418D
split-complementary
#8D2C71 #418D2C #2C8D79
monochromatic
#300F26 #5E1D4C #8D2C71 #BC3B96 #CF65B0
Accessibility & contrast
On white
7.69
#8D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#8D2C71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2C71
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2C71 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#962E4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8d2c71; /* rgb */ color: rgb(141, 44, 113); /* oklch */ color: oklch(46.2% 0.152 341.3);
Tailwind
colors: {
custom: {
50: '#b16d9a',
500: '#8d2c71',
950: '#000000',
},
}SCSS
$custom: #8d2c71; $custom-light: #b16d9a; $custom-dark: #000000;
JSON
{
"hex": "#8d2c71",
"rgb": {
"r": 141,
"g": 44,
"b": 113
},
"hsl": {
"h": 317.32,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.4624,
"c": 0.15197,
"h": 341.3
},
"luminance": 0.08656
}Semantic roles & 50–950 ramp
primary
#8D2C71
secondary
#60B578
accent
#DC754C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E