#8E1D74#8E1D74
#8E1D74 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.173 H 339.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D74 |
|---|---|
| RGB | rgb(142, 29, 116) |
| HSL | hsl(314, 66%, 34%) |
| HSV | hsv(314, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 18.3%, 44.3%) |
| CIE-LAB | lab(33.76, 54.21, -22.47) |
| CIE-LCH | lch(33.76, 58.68, 337.49°) |
| OKLab | oklab(45.19% 0.1615 -0.0608) |
| OKLCH | oklch(45.19% 0.173 339.4) |
| XYZ | xyz(14.7475, 7.8919, 17.2662) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.90
Warm Purple
#952E8F
ΔE00 5.53
Darkish Purple
#751973
ΔE00 5.76
Darkmagenta
#8B008B
ΔE00 6.00
Purple
#800080
ΔE00 6.16
Barney Purple
#A00498
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D74 #1D8E37
analogous
#6F1D8E #8E1D74 #8E1D3B
triadic
#8E1D74 #748E1D #1D748E
tetradic
#8E1D74 #8E6F1D #1D8E37 #1D3B8E
square
#8E1D74 #8E6F1D #1D8E37 #1D3B8E
split-complementary
#8E1D74 #3B8E1D #1D8E6F
monochromatic
#280821 #5B134A #8E1D74 #C1279E #DA4BB9
Accessibility & contrast
On white
8.15
#8E1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#8E1D74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D74
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D74 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#972247
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1d74; /* rgb */ color: rgb(142, 29, 116); /* oklch */ color: oklch(45.2% 0.173 339.4);
Tailwind
colors: {
custom: {
50: '#b3679c',
500: '#8e1d74',
950: '#000000',
},
}SCSS
$custom: #8e1d74; $custom-light: #b3679c; $custom-dark: #000000;
JSON
{
"hex": "#8e1d74",
"rgb": {
"r": 142,
"g": 29,
"b": 116
},
"hsl": {
"h": 313.805,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45188,
"c": 0.17256,
"h": 339.4
},
"luminance": 0.0789
}Semantic roles & 50–950 ramp
primary
#8E1D74
secondary
#4ABD65
accent
#E9663F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E