#8E1A79#8E1A79
#8E1A79 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 337.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A79 |
|---|---|
| RGB | rgb(142, 26, 121) |
| HSL | hsl(311, 69%, 33%) |
| HSV | hsv(311, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 14.8%, 44.3%) |
| CIE-LAB | lab(33.71, 55.77, -25.69) |
| CIE-LCH | lch(33.71, 61.41, 335.27°) |
| OKLab | oklab(45.24% 0.1646 -0.07) |
| OKLCH | oklch(45.24% 0.179 337) |
| XYZ | xyz(14.9762, 7.8715, 18.8161) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.76
Warm Purple
#952E8F
ΔE00 4.81
Purple
#800080
ΔE00 5.11
Darkish Purple
#751973
ΔE00 5.16
Barney Purple
#A00498
ΔE00 5.69
Red Violet
#9E0168
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A79 #1A8E2F
analogous
#691A8E #8E1A79 #8E1A3F
triadic
#8E1A79 #798E1A #1A798E
tetradic
#8E1A79 #8E691A #1A8E2F #1A3F8E
square
#8E1A79 #8E691A #1A8E2F #1A3F8E
split-complementary
#8E1A79 #3F8E1A #1A8E69
monochromatic
#270721 #5A114D #8E1A79 #C223A5 #DD45C2
Accessibility & contrast
On white
8.16
#8E1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8E1A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A79
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A79 | 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)
#1E447B
Deuteranopia (green-blind)
#485576
Tritanopia (blue-blind)
#962349
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1a79; /* rgb */ color: rgb(142, 26, 121); /* oklch */ color: oklch(45.2% 0.179 337.0);
Tailwind
colors: {
custom: {
50: '#b366a0',
500: '#8e1a79',
950: '#000000',
},
}SCSS
$custom: #8e1a79; $custom-light: #b366a0; $custom-dark: #000000;
JSON
{
"hex": "#8e1a79",
"rgb": {
"r": 142,
"g": 26,
"b": 121
},
"hsl": {
"h": 310.862,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.45239,
"c": 0.17882,
"h": 337
},
"luminance": 0.0787
}Semantic roles & 50–950 ramp
primary
#8E1A79
secondary
#45BE5B
accent
#EC5C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E