#8E1D76#8E1D76
#8E1D76 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.174 H 338.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D76 |
|---|---|
| RGB | rgb(142, 29, 118) |
| HSL | hsl(313, 66%, 34%) |
| HSV | hsv(313, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 16.9%, 44.3%) |
| CIE-LAB | lab(33.86, 54.49, -23.57) |
| CIE-LCH | lch(33.86, 59.38, 336.61°) |
| OKLab | oklab(45.29% 0.1617 -0.064) |
| OKLCH | oklch(45.29% 0.174 338.4) |
| XYZ | xyz(14.8651, 7.9390, 17.8855) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.17
Red Violet
#9E0168
ΔE00 5.26
Darkish Purple
#751973
ΔE00 5.56
Darkmagenta
#8B008B
ΔE00 5.59
Purple
#800080
ΔE00 5.83
Barney Purple
#A00498
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D76 #1D8E35
analogous
#6D1D8E #8E1D76 #8E1D3D
triadic
#8E1D76 #768E1D #1D768E
tetradic
#8E1D76 #8E6D1D #1D8E35 #1D3D8E
square
#8E1D76 #8E6D1D #1D8E35 #1D3D8E
split-complementary
#8E1D76 #3D8E1D #1D8E6D
monochromatic
#280822 #5B134C #8E1D76 #C127A0 #DA4BBC
Accessibility & contrast
On white
8.12
#8E1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8E1D76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D76
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D76 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#962348
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e1d76; /* rgb */ color: rgb(142, 29, 118); /* oklch */ color: oklch(45.3% 0.174 338.4);
Tailwind
colors: {
custom: {
50: '#b3679d',
500: '#8e1d76',
950: '#000000',
},
}SCSS
$custom: #8e1d76; $custom-light: #b3679d; $custom-dark: #000000;
JSON
{
"hex": "#8e1d76",
"rgb": {
"r": 142,
"g": 29,
"b": 118
},
"hsl": {
"h": 312.743,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45291,
"c": 0.17392,
"h": 338.4
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#8E1D76
secondary
#4ABD63
accent
#E9633F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E