#8D1C78#8D1C78
#8D1C78 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.176 H 337.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1C78 |
|---|---|
| RGB | rgb(141, 28, 120) |
| HSL | hsl(311, 67%, 33%) |
| HSV | hsv(311, 80%, 55%) |
| CMYK | cmyk(0%, 80.1%, 14.9%, 44.7%) |
| CIE-LAB | lab(33.67, 54.84, -25.14) |
| CIE-LCH | lch(33.67, 60.33, 335.37°) |
| OKLab | oklab(45.16% 0.1618 -0.0685) |
| OKLCH | oklch(45.16% 0.176 337.1) |
| XYZ | xyz(14.7902, 7.8507, 18.5021) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.90
Darkmagenta
#8B008B
ΔE00 4.96
Darkish Purple
#751973
ΔE00 5.11
Purple
#800080
ΔE00 5.23
Red Violet
#9E0168
ΔE00 5.82
Barney Purple
#A00498
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1C78 #1C8D31
analogous
#691C8D #8D1C78 #8D1C40
triadic
#8D1C78 #788D1C #1C788D
tetradic
#8D1C78 #8D691C #1C8D31 #1C408D
square
#8D1C78 #8D691C #1C8D31 #1C408D
split-complementary
#8D1C78 #408D1C #1C8D69
monochromatic
#270821 #5A124D #8D1C78 #C026A3 #DB49C0
Accessibility & contrast
On white
8.17
#8D1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8D1C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1C78
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1C78 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#952449
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1c78; /* rgb */ color: rgb(141, 28, 120); /* oklch */ color: oklch(45.2% 0.176 337.1);
Tailwind
colors: {
custom: {
50: '#b2669f',
500: '#8d1c78',
950: '#000000',
},
}SCSS
$custom: #8d1c78; $custom-light: #b2669f; $custom-dark: #000000;
JSON
{
"hex": "#8d1c78",
"rgb": {
"r": 141,
"g": 28,
"b": 120
},
"hsl": {
"h": 311.15,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.45156,
"c": 0.1757,
"h": 337.1
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#8D1C78
secondary
#48BD5E
accent
#EA5E3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E