#8E1D73#8E1D73
#8E1D73 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 339.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D73 |
|---|---|
| RGB | rgb(142, 29, 115) |
| HSL | hsl(314, 66%, 34%) |
| HSV | hsv(314, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 19%, 44.3%) |
| CIE-LAB | lab(33.71, 54.07, -21.91) |
| CIE-LCH | lch(33.71, 58.34, 337.94°) |
| OKLab | oklab(45.14% 0.1614 -0.0592) |
| OKLCH | oklch(45.14% 0.172 339.8) |
| XYZ | xyz(14.6896, 7.8688, 16.9615) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.73
Warm Purple
#952E8F
ΔE00 5.72
Darkish Purple
#751973
ΔE00 5.88
Darkmagenta
#8B008B
ΔE00 6.21
Purple
#800080
ΔE00 6.34
Barney Purple
#A00498
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D73 #1D8E38
analogous
#701D8E #8E1D73 #8E1D3A
triadic
#8E1D73 #738E1D #1D738E
tetradic
#8E1D73 #8E701D #1D8E38 #1D3A8E
square
#8E1D73 #8E701D #1D8E38 #1D3A8E
split-complementary
#8E1D73 #3A8E1D #1D8E70
monochromatic
#280821 #5B134A #8E1D73 #C1279C #DA4BB8
Accessibility & contrast
On white
8.16
#8E1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8E1D73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D73
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D73 | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#4B5670
Tritanopia (blue-blind)
#972146
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1d73; /* rgb */ color: rgb(142, 29, 115); /* oklch */ color: oklch(45.1% 0.172 339.8);
Tailwind
colors: {
custom: {
50: '#b3679b',
500: '#8e1d73',
950: '#000000',
},
}SCSS
$custom: #8e1d73; $custom-light: #b3679b; $custom-dark: #000000;
JSON
{
"hex": "#8e1d73",
"rgb": {
"r": 142,
"g": 29,
"b": 115
},
"hsl": {
"h": 314.336,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45137,
"c": 0.1719,
"h": 339.8
},
"luminance": 0.07867
}Semantic roles & 50–950 ramp
primary
#8E1D73
secondary
#4ABD66
accent
#E9673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E