#8D1C76#8D1C76
#8D1C76 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.174 H 338.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1C76 |
|---|---|
| RGB | rgb(141, 28, 118) |
| HSL | hsl(312, 67%, 33%) |
| HSV | hsv(312, 80%, 55%) |
| CMYK | cmyk(0%, 80.1%, 16.3%, 44.7%) |
| CIE-LAB | lab(33.57, 54.55, -24.04) |
| CIE-LCH | lch(33.57, 59.61, 336.22°) |
| OKLab | oklab(45.05% 0.1616 -0.0653) |
| OKLCH | oklch(45.05% 0.174 338) |
| XYZ | xyz(14.6701, 7.8027, 17.8695) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.22
Darkish Purple
#751973
ΔE00 5.27
Darkmagenta
#8B008B
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.46
Purple
#800080
ΔE00 5.54
Barney Purple
#A00498
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1C76 #1C8D33
analogous
#6B1C8D #8D1C76 #8D1C3E
triadic
#8D1C76 #768D1C #1C768D
tetradic
#8D1C76 #8D6B1C #1C8D33 #1C3E8D
square
#8D1C76 #8D6B1C #1C8D33 #1C3E8D
split-complementary
#8D1C76 #3E8D1C #1C8D6B
monochromatic
#270821 #5A124B #8D1C76 #C026A1 #DB49BD
Accessibility & contrast
On white
8.20
#8D1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8D1C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1C76
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1C76 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#952348
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1c76; /* rgb */ color: rgb(141, 28, 118); /* oklch */ color: oklch(45.1% 0.174 338.0);
Tailwind
colors: {
custom: {
50: '#b2669e',
500: '#8d1c76',
950: '#000000',
},
}SCSS
$custom: #8d1c76; $custom-light: #b2669e; $custom-dark: #000000;
JSON
{
"hex": "#8d1c76",
"rgb": {
"r": 141,
"g": 28,
"b": 118
},
"hsl": {
"h": 312.212,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.4505,
"c": 0.17432,
"h": 338
},
"luminance": 0.07801
}Semantic roles & 50–950 ramp
primary
#8D1C76
secondary
#48BD60
accent
#EA613E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E