#8D2F76#8D2F76
#8D2F76 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.151 H 338.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2F76 |
|---|---|
| RGB | rgb(141, 47, 118) |
| HSL | hsl(315, 50%, 37%) |
| HSV | hsv(315, 67%, 55%) |
| CMYK | cmyk(0%, 66.7%, 16.3%, 44.7%) |
| CIE-LAB | lab(35.99, 47.71, -20.26) |
| CIE-LCH | lch(35.99, 51.83, 336.99°) |
| OKLab | oklab(46.81% 0.1411 -0.0547) |
| OKLCH | oklch(46.81% 0.151 338.8) |
| XYZ | xyz(15.2713, 9.0051, 18.0699) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 5.06
Light Eggplant
#894585
ΔE00 5.40
Red Violet
#9E0168
ΔE00 5.84
Darkish Purple
#751973
ΔE00 7.18
Grape
#6C3461
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2F76 #2F8D46
analogous
#752F8D #8D2F76 #8D2F47
triadic
#8D2F76 #768D2F #2F768D
tetradic
#8D2F76 #8D752F #2F8D46 #2F478D
square
#8D2F76 #8D752F #2F8D46 #2F478D
split-complementary
#8D2F76 #478D2F #2F8D75
monochromatic
#311029 #5F2050 #8D2F76 #BB3E9C #CD69B5
Accessibility & contrast
On white
7.50
#8D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8D2F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2F76
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2F76 | 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)
#334B78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#95324E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8d2f76; /* rgb */ color: rgb(141, 47, 118); /* oklch */ color: oklch(46.8% 0.151 338.8);
Tailwind
colors: {
custom: {
50: '#b16f9d',
500: '#8d2f76',
950: '#000000',
},
}SCSS
$custom: #8d2f76; $custom-light: #b16f9d; $custom-dark: #000000;
JSON
{
"hex": "#8d2f76",
"rgb": {
"r": 141,
"g": 47,
"b": 118
},
"hsl": {
"h": 314.681,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.46808,
"c": 0.15133,
"h": 338.8
},
"luminance": 0.09004
}Semantic roles & 50–950 ramp
primary
#8D2F76
secondary
#64B477
accent
#DA704E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E