#8D1D76#8D1D76
#8D1D76 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.173 H 338.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1D76 |
|---|---|
| RGB | rgb(141, 29, 118) |
| HSL | hsl(312, 66%, 33%) |
| HSV | hsv(312, 79%, 55%) |
| CMYK | cmyk(0%, 79.4%, 16.3%, 44.7%) |
| CIE-LAB | lab(33.67, 54.26, -23.88) |
| CIE-LCH | lch(33.67, 59.28, 336.25°) |
| OKLab | oklab(45.12% 0.1607 -0.0649) |
| OKLCH | oklch(45.12% 0.173 338) |
| XYZ | xyz(14.6942, 7.8509, 17.8775) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.18
Darkish Purple
#751973
ΔE00 5.33
Red Violet
#9E0168
ΔE00 5.45
Darkmagenta
#8B008B
ΔE00 5.45
Purple
#800080
ΔE00 5.64
Barney Purple
#A00498
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1D76 #1D8D34
analogous
#6C1D8D #8D1D76 #8D1D3E
triadic
#8D1D76 #768D1D #1D768D
tetradic
#8D1D76 #8D6C1D #1D8D34 #1D3E8D
square
#8D1D76 #8D6C1D #1D8D34 #1D3E8D
split-complementary
#8D1D76 #3E8D1D #1D8D6C
monochromatic
#270821 #5A134C #8D1D76 #C027A0 #DA4BBC
Accessibility & contrast
On white
8.17
#8D1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8D1D76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1D76
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1D76 | 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)
#224478
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#952448
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8d1d76; /* rgb */ color: rgb(141, 29, 118); /* oklch */ color: oklch(45.1% 0.173 338.0);
Tailwind
colors: {
custom: {
50: '#b2679e',
500: '#8d1d76',
950: '#000000',
},
}SCSS
$custom: #8d1d76; $custom-light: #b2679e; $custom-dark: #000000;
JSON
{
"hex": "#8d1d76",
"rgb": {
"r": 141,
"g": 29,
"b": 118
},
"hsl": {
"h": 312.321,
"s": 65.882,
"l": 33.333
},
"oklch": {
"l": 0.45123,
"c": 0.17333,
"h": 338
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#8D1D76
secondary
#4ABC61
accent
#E9623F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E