#8D2177#8D2177
#8D2177 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 337.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2177 |
|---|---|
| RGB | rgb(141, 33, 119) |
| HSL | hsl(312, 62%, 34%) |
| HSV | hsv(312, 77%, 55%) |
| CMYK | cmyk(0%, 76.6%, 15.6%, 44.7%) |
| CIE-LAB | lab(34.16, 53.16, -23.75) |
| CIE-LCH | lch(34.16, 58.22, 335.93°) |
| OKLab | oklab(45.49% 0.1571 -0.0645) |
| OKLCH | oklch(45.49% 0.17 337.7) |
| XYZ | xyz(14.8584, 8.0838, 18.2270) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.85
Darkish Purple
#751973
ΔE00 5.51
Red Violet
#9E0168
ΔE00 5.59
Darkmagenta
#8B008B
ΔE00 5.60
Purple
#800080
ΔE00 5.88
Barney Purple
#A00498
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2177 #218D37
analogous
#6D218D #8D2177 #8D2141
triadic
#8D2177 #778D21 #21778D
tetradic
#8D2177 #8D6D21 #218D37 #21418D
square
#8D2177 #8D6D21 #218D37 #21418D
split-complementary
#8D2177 #418D21 #218D6D
monochromatic
#2A0A23 #5B154D #8D2177 #BF2DA1 #D652BB
Accessibility & contrast
On white
8.03
#8D2177 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8D2177 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2177
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2177 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2177 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254679
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#95274A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8d2177; /* rgb */ color: rgb(141, 33, 119); /* oklch */ color: oklch(45.5% 0.170 337.7);
Tailwind
colors: {
custom: {
50: '#b2689e',
500: '#8d2177',
950: '#000000',
},
}SCSS
$custom: #8d2177; $custom-light: #b2689e; $custom-dark: #000000;
JSON
{
"hex": "#8d2177",
"rgb": {
"r": 141,
"g": 33,
"b": 119
},
"hsl": {
"h": 312.222,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.4549,
"c": 0.16983,
"h": 337.7
},
"luminance": 0.08082
}Semantic roles & 50–950 ramp
primary
#8D2177
secondary
#50BA65
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E