#8E1D79#8E1D79
#8E1D79 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.176 H 337.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D79 |
|---|---|
| RGB | rgb(142, 29, 121) |
| HSL | hsl(311, 66%, 34%) |
| HSV | hsv(311, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 14.8%, 44.3%) |
| CIE-LAB | lab(34.01, 54.93, -25.23) |
| CIE-LCH | lch(34.01, 60.45, 335.33°) |
| OKLab | oklab(45.45% 0.162 -0.0687) |
| OKLCH | oklch(45.45% 0.176 337) |
| XYZ | xyz(15.0462, 8.0114, 18.8394) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.66
Darkmagenta
#8B008B
ΔE00 4.98
Darkish Purple
#751973
ΔE00 5.31
Purple
#800080
ΔE00 5.37
Barney Purple
#A00498
ΔE00 5.76
Red Violet
#9E0168
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D79 #1D8E32
analogous
#6A1D8E #8E1D79 #8E1D41
triadic
#8E1D79 #798E1D #1D798E
tetradic
#8E1D79 #8E6A1D #1D8E32 #1D418E
square
#8E1D79 #8E6A1D #1D8E32 #1D418E
split-complementary
#8E1D79 #418E1D #1D8E6A
monochromatic
#280822 #5B134E #8E1D79 #C127A4 #DA4BC0
Accessibility & contrast
On white
8.07
#8E1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8E1D79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D79
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D79 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#96254A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e1d79; /* rgb */ color: rgb(142, 29, 121); /* oklch */ color: oklch(45.4% 0.176 337.0);
Tailwind
colors: {
custom: {
50: '#b367a0',
500: '#8e1d79',
950: '#000000',
},
}SCSS
$custom: #8e1d79; $custom-light: #b367a0; $custom-dark: #000000;
JSON
{
"hex": "#8e1d79",
"rgb": {
"r": 142,
"g": 29,
"b": 121
},
"hsl": {
"h": 311.15,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.45449,
"c": 0.17598,
"h": 337
},
"luminance": 0.0801
}Semantic roles & 50–950 ramp
primary
#8E1D79
secondary
#4ABD5F
accent
#E95E3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E