#8D2E7D#8D2E7D
#8D2E7D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.158 H 335.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2E7D |
|---|---|
| RGB | rgb(141, 46, 125) |
| HSL | hsl(310, 51%, 37%) |
| HSV | hsv(310, 67%, 55%) |
| CMYK | cmyk(0%, 67.4%, 11.3%, 44.7%) |
| CIE-LAB | lab(36.17, 49.24, -24.36) |
| CIE-LCH | lch(36.17, 54.93, 333.68°) |
| OKLab | oklab(47.05% 0.1434 -0.0664) |
| OKLCH | oklch(47.05% 0.158 335.2) |
| XYZ | xyz(15.6633, 9.0987, 20.3293) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.50
Light Eggplant
#894585
ΔE00 5.01
Bruise
#7E4071
ΔE00 5.62
Barney Purple
#A00498
ΔE00 6.12
Darkmagenta
#8B008B
ΔE00 6.24
Darkish Purple
#751973
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2E7D #2E8D3E
analogous
#6E2E8D #8D2E7D #8D2E4E
triadic
#8D2E7D #7D8D2E #2E7D8D
tetradic
#8D2E7D #8D6E2E #2E8D3E #2E4E8D
square
#8D2E7D #8D6E2E #2E8D3E #2E4E8D
split-complementary
#8D2E7D #4E8D2E #2E8D6E
monochromatic
#31102B #5F1F54 #8D2E7D #BB3DA6 #CE68BC
Accessibility & contrast
On white
7.45
#8D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#8D2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2E7D
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2E7D | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#943451
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8d2e7d; /* rgb */ color: rgb(141, 46, 125); /* oklch */ color: oklch(47.0% 0.158 335.2);
Tailwind
colors: {
custom: {
50: '#b16ea3',
500: '#8d2e7d',
950: '#000000',
},
}SCSS
$custom: #8d2e7d; $custom-light: #b16ea3; $custom-dark: #000000;
JSON
{
"hex": "#8d2e7d",
"rgb": {
"r": 141,
"g": 46,
"b": 125
},
"hsl": {
"h": 310.105,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.47047,
"c": 0.15803,
"h": 335.2
},
"luminance": 0.09097
}Semantic roles & 50–950 ramp
primary
#8D2E7D
secondary
#62B570
accent
#DA654E
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F