#8E1979#8E1979
#8E1979 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.180 H 336.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1979 |
|---|---|
| RGB | rgb(142, 25, 121) |
| HSL | hsl(311, 70%, 33%) |
| HSV | hsv(311, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 14.8%, 44.3%) |
| CIE-LAB | lab(33.62, 56.04, -25.83) |
| CIE-LCH | lch(33.62, 61.71, 335.25°) |
| OKLab | oklab(45.17% 0.1653 -0.0704) |
| OKLCH | oklch(45.17% 0.18 336.9) |
| XYZ | xyz(14.9545, 7.8280, 18.8088) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.69
Warm Purple
#952E8F
ΔE00 4.87
Purple
#800080
ΔE00 5.03
Darkish Purple
#751973
ΔE00 5.11
Barney Purple
#A00498
ΔE00 5.68
Red Violet
#9E0168
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1979 #198E2E
analogous
#68198E #8E1979 #8E193F
triadic
#8E1979 #798E19 #19798E
tetradic
#8E1979 #8E6819 #198E2E #193F8E
square
#8E1979 #8E6819 #198E2E #193F8E
split-complementary
#8E1979 #3F8E19 #198E68
monochromatic
#260720 #5A104D #8E1979 #C222A5 #DE43C2
Accessibility & contrast
On white
8.19
#8E1979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8E1979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1979
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1979 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#485576
Tritanopia (blue-blind)
#962249
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1979; /* rgb */ color: rgb(142, 25, 121); /* oklch */ color: oklch(45.2% 0.180 336.9);
Tailwind
colors: {
custom: {
50: '#b366a0',
500: '#8e1979',
950: '#000000',
},
}SCSS
$custom: #8e1979; $custom-light: #b366a0; $custom-dark: #000000;
JSON
{
"hex": "#8e1979",
"rgb": {
"r": 142,
"g": 25,
"b": 121
},
"hsl": {
"h": 310.769,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.45173,
"c": 0.1797,
"h": 336.9
},
"luminance": 0.07827
}Semantic roles & 50–950 ramp
primary
#8E1979
secondary
#44BF5A
accent
#ED5B3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E