#8D2972#8D2972
#8D2972 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.157 H 340.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2972 |
|---|---|
| RGB | rgb(141, 41, 114) |
| HSL | hsl(316, 55%, 36%) |
| HSV | hsv(316, 71%, 55%) |
| CMYK | cmyk(0%, 70.9%, 19.1%, 44.7%) |
| CIE-LAB | lab(34.93, 49.55, -19.39) |
| CIE-LCH | lch(34.93, 53.21, 338.63°) |
| OKLab | oklab(45.98% 0.1477 -0.0522) |
| OKLCH | oklch(45.98% 0.157 340.5) |
| XYZ | xyz(14.8151, 8.4649, 16.7700) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.92
Bruise
#7E4071
ΔE00 5.60
Warm Purple
#952E8F
ΔE00 5.78
Light Eggplant
#894585
ΔE00 6.58
Darkish Purple
#751973
ΔE00 6.86
Grape
#6C3461
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2972 #298D44
analogous
#76298D #8D2972 #8D2940
triadic
#8D2972 #728D29 #29728D
tetradic
#8D2972 #8D7629 #298D44 #29408D
square
#8D2972 #8D7629 #298D44 #29408D
split-complementary
#8D2972 #408D29 #298D76
monochromatic
#2E0D25 #5E1B4C #8D2972 #BC3798 #D160B2
Accessibility & contrast
On white
7.80
#8D2972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8D2972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2972
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2972 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#952B4A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8d2972; /* rgb */ color: rgb(141, 41, 114); /* oklch */ color: oklch(46.0% 0.157 340.5);
Tailwind
colors: {
custom: {
50: '#b26c9a',
500: '#8d2972',
950: '#000000',
},
}SCSS
$custom: #8d2972; $custom-light: #b26c9a; $custom-dark: #000000;
JSON
{
"hex": "#8d2972",
"rgb": {
"r": 141,
"g": 41,
"b": 114
},
"hsl": {
"h": 316.2,
"s": 54.945,
"l": 35.686
},
"oklch": {
"l": 0.45975,
"c": 0.15669,
"h": 340.5
},
"luminance": 0.08464
}Semantic roles & 50–950 ramp
primary
#8D2972
secondary
#5BB674
accent
#DE724A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E