#8D1D77#8D1D77
#8D1D77 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 337.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1D77 |
|---|---|
| RGB | rgb(141, 29, 119) |
| HSL | hsl(312, 66%, 33%) |
| HSV | hsv(312, 79%, 55%) |
| CMYK | cmyk(0%, 79.4%, 15.6%, 44.7%) |
| CIE-LAB | lab(33.72, 54.40, -24.43) |
| CIE-LCH | lch(33.72, 59.64, 335.82°) |
| OKLab | oklab(45.18% 0.1608 -0.0664) |
| OKLCH | oklch(45.18% 0.174 337.6) |
| XYZ | xyz(14.7540, 7.8748, 18.1921) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.01
Darkish Purple
#751973
ΔE00 5.24
Darkmagenta
#8B008B
ΔE00 5.24
Purple
#800080
ΔE00 5.48
Red Violet
#9E0168
ΔE00 5.63
Barney Purple
#A00498
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1D77 #1D8D33
analogous
#6B1D8D #8D1D77 #8D1D3F
triadic
#8D1D77 #778D1D #1D778D
tetradic
#8D1D77 #8D6B1D #1D8D33 #1D3F8D
square
#8D1D77 #8D6B1D #1D8D33 #1D3F8D
split-complementary
#8D1D77 #3F8D1D #1D8D6B
monochromatic
#270821 #5A134C #8D1D77 #C027A2 #DA4BBE
Accessibility & contrast
On white
8.16
#8D1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8D1D77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1D77
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1D77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1D77 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#952449
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1d77; /* rgb */ color: rgb(141, 29, 119); /* oklch */ color: oklch(45.2% 0.174 337.6);
Tailwind
colors: {
custom: {
50: '#b2679e',
500: '#8d1d77',
950: '#000000',
},
}SCSS
$custom: #8d1d77; $custom-light: #b2679e; $custom-dark: #000000;
JSON
{
"hex": "#8d1d77",
"rgb": {
"r": 141,
"g": 29,
"b": 119
},
"hsl": {
"h": 311.786,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.45176,
"c": 0.17402,
"h": 337.6
},
"luminance": 0.07873
}Semantic roles & 50–950 ramp
primary
#8D1D77
secondary
#4ABC60
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E