#8D2D7C#8D2D7C
#8D2D7C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.159 H 335.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2D7C |
|---|---|
| RGB | rgb(141, 45, 124) |
| HSL | hsl(311, 52%, 36%) |
| HSV | hsv(311, 68%, 55%) |
| CMYK | cmyk(0%, 68.1%, 12.1%, 44.7%) |
| CIE-LAB | lab(35.98, 49.49, -24.04) |
| CIE-LCH | lch(35.98, 55.02, 334.09°) |
| OKLab | oklab(46.89% 0.1445 -0.0654) |
| OKLCH | oklch(46.89% 0.159 335.6) |
| XYZ | xyz(15.5612, 8.9960, 19.9817) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Light Eggplant
#894585
ΔE00 5.21
Bruise
#7E4071
ΔE00 5.66
Barney Purple
#A00498
ΔE00 6.19
Darkmagenta
#8B008B
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2D7C #2D8D3E
analogous
#6E2D8D #8D2D7C #8D2D4C
triadic
#8D2D7C #7C8D2D #2D7C8D
tetradic
#8D2D7C #8D6E2D #2D8D3E #2D4C8D
square
#8D2D7C #8D6E2D #2D8D3E #2D4C8D
split-complementary
#8D2D7C #4C8D2D #2D8D6E
monochromatic
#300F2A #5F1E53 #8D2D7C #BB3CA5 #CE66BC
Accessibility & contrast
On white
7.50
#8D2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8D2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2D7C
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2D7C | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#4D5A7A
Tritanopia (blue-blind)
#943350
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8d2d7c; /* rgb */ color: rgb(141, 45, 124); /* oklch */ color: oklch(46.9% 0.159 335.6);
Tailwind
colors: {
custom: {
50: '#b16ea2',
500: '#8d2d7c',
950: '#000000',
},
}SCSS
$custom: #8d2d7c; $custom-light: #b16ea2; $custom-dark: #000000;
JSON
{
"hex": "#8d2d7c",
"rgb": {
"r": 141,
"g": 45,
"b": 124
},
"hsl": {
"h": 310.625,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.46888,
"c": 0.15864,
"h": 335.6
},
"luminance": 0.08995
}Semantic roles & 50–950 ramp
primary
#8D2D7C
secondary
#61B570
accent
#DB664D
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F