#8D2E7B#8D2E7B
#8D2E7B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.156 H 336.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2E7B |
|---|---|
| RGB | rgb(141, 46, 123) |
| HSL | hsl(311, 51%, 37%) |
| HSV | hsv(311, 67%, 55%) |
| CMYK | cmyk(0%, 67.4%, 12.8%, 44.7%) |
| CIE-LAB | lab(36.08, 48.92, -23.26) |
| CIE-LCH | lch(36.08, 54.17, 334.57°) |
| OKLab | oklab(46.95% 0.1431 -0.0632) |
| OKLCH | oklch(46.95% 0.156 336.2) |
| XYZ | xyz(15.5369, 9.0481, 19.6632) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.91
Light Eggplant
#894585
ΔE00 5.11
Bruise
#7E4071
ΔE00 5.41
Barney Purple
#A00498
ΔE00 6.46
Red Violet
#9E0168
ΔE00 6.55
Darkmagenta
#8B008B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2E7B #2E8D40
analogous
#702E8D #8D2E7B #8D2E4C
triadic
#8D2E7B #7B8D2E #2E7B8D
tetradic
#8D2E7B #8D702E #2E8D40 #2E4C8D
square
#8D2E7B #8D702E #2E8D40 #2E4C8D
split-complementary
#8D2E7B #4C8D2E #2E8D70
monochromatic
#31102A #5F1F53 #8D2E7B #BB3DA3 #CE68BA
Accessibility & contrast
On white
7.47
#8D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8D2E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2E7B
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2E7B | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#943450
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8d2e7b; /* rgb */ color: rgb(141, 46, 123); /* oklch */ color: oklch(46.9% 0.156 336.2);
Tailwind
colors: {
custom: {
50: '#b16ea1',
500: '#8d2e7b',
950: '#000000',
},
}SCSS
$custom: #8d2e7b; $custom-light: #b16ea1; $custom-dark: #000000;
JSON
{
"hex": "#8d2e7b",
"rgb": {
"r": 141,
"g": 46,
"b": 123
},
"hsl": {
"h": 311.368,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.46945,
"c": 0.15649,
"h": 336.2
},
"luminance": 0.09047
}Semantic roles & 50–950 ramp
primary
#8D2E7B
secondary
#62B572
accent
#DA684E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E