#8E1D72#8E1D72
#8E1D72 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.171 H 340.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D72 |
|---|---|
| RGB | rgb(142, 29, 114) |
| HSL | hsl(315, 66%, 34%) |
| HSV | hsv(315, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 19.7%, 44.3%) |
| CIE-LAB | lab(33.66, 53.92, -21.35) |
| CIE-LCH | lch(33.66, 58.00, 338.40°) |
| OKLab | oklab(45.09% 0.1612 -0.0577) |
| OKLCH | oklch(45.09% 0.171 340.3) |
| XYZ | xyz(14.6324, 7.8459, 16.6601) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.55
Warm Purple
#952E8F
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.00
Darkmagenta
#8B008B
ΔE00 6.43
Purple
#800080
ΔE00 6.52
Rich Purple
#720058
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D72 #1D8E39
analogous
#711D8E #8E1D72 #8E1D39
triadic
#8E1D72 #728E1D #1D728E
tetradic
#8E1D72 #8E711D #1D8E39 #1D398E
square
#8E1D72 #8E711D #1D8E39 #1D398E
split-complementary
#8E1D72 #398E1D #1D8E71
monochromatic
#280820 #5B1349 #8E1D72 #C1279B #DA4BB7
Accessibility & contrast
On white
8.18
#8E1D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8E1D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D72
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D72 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#972146
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1d72; /* rgb */ color: rgb(142, 29, 114); /* oklch */ color: oklch(45.1% 0.171 340.3);
Tailwind
colors: {
custom: {
50: '#b3679a',
500: '#8e1d72',
950: '#000000',
},
}SCSS
$custom: #8e1d72; $custom-light: #b3679a; $custom-dark: #000000;
JSON
{
"hex": "#8e1d72",
"rgb": {
"r": 142,
"g": 29,
"b": 114
},
"hsl": {
"h": 314.867,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45086,
"c": 0.17124,
"h": 340.3
},
"luminance": 0.07844
}Semantic roles & 50–950 ramp
primary
#8E1D72
secondary
#4ABD67
accent
#E9693F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E