#8D1C77#8D1C77
#8D1C77 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.175 H 337.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1C77 |
|---|---|
| RGB | rgb(141, 28, 119) |
| HSL | hsl(312, 67%, 33%) |
| HSV | hsv(312, 80%, 55%) |
| CMYK | cmyk(0%, 80.1%, 15.6%, 44.7%) |
| CIE-LAB | lab(33.62, 54.69, -24.59) |
| CIE-LCH | lch(33.62, 59.97, 335.79°) |
| OKLab | oklab(45.1% 0.1617 -0.0669) |
| OKLCH | oklch(45.1% 0.175 337.5) |
| XYZ | xyz(14.7299, 7.8266, 18.1841) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.06
Darkmagenta
#8B008B
ΔE00 5.17
Darkish Purple
#751973
ΔE00 5.19
Purple
#800080
ΔE00 5.38
Red Violet
#9E0168
ΔE00 5.64
Barney Purple
#A00498
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1C77 #1C8D32
analogous
#6A1C8D #8D1C77 #8D1C3F
triadic
#8D1C77 #778D1C #1C778D
tetradic
#8D1C77 #8D6A1C #1C8D32 #1C3F8D
square
#8D1C77 #8D6A1C #1C8D32 #1C3F8D
split-complementary
#8D1C77 #3F8D1C #1C8D6A
monochromatic
#270821 #5A124C #8D1C77 #C026A2 #DB49BE
Accessibility & contrast
On white
8.19
#8D1C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8D1C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1C77
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1C77 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#952348
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1c77; /* rgb */ color: rgb(141, 28, 119); /* oklch */ color: oklch(45.1% 0.175 337.5);
Tailwind
colors: {
custom: {
50: '#b2669e',
500: '#8d1c77',
950: '#000000',
},
}SCSS
$custom: #8d1c77; $custom-light: #b2669e; $custom-dark: #000000;
JSON
{
"hex": "#8d1c77",
"rgb": {
"r": 141,
"g": 28,
"b": 119
},
"hsl": {
"h": 311.681,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.45103,
"c": 0.17501,
"h": 337.5
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#8D1C77
secondary
#48BD5F
accent
#EA5F3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E