#8E2779#8E2779
#8E2779 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.165 H 337.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2779 |
|---|---|
| RGB | rgb(142, 39, 121) |
| HSL | hsl(312, 57%, 35%) |
| HSV | hsv(312, 73%, 56%) |
| CMYK | cmyk(0%, 72.5%, 14.8%, 44.3%) |
| CIE-LAB | lab(35.17, 51.62, -23.41) |
| CIE-LCH | lch(35.17, 56.68, 335.61°) |
| OKLab | oklab(46.29% 0.1521 -0.0636) |
| OKLCH | oklch(46.29% 0.165 337.3) |
| XYZ | xyz(15.3323, 8.5837, 18.9348) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.31
Red Violet
#9E0168
ΔE00 5.82
Darkmagenta
#8B008B
ΔE00 6.02
Darkish Purple
#751973
ΔE00 6.10
Barney Purple
#A00498
ΔE00 6.22
Bruise
#7E4071
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2779 #278E3C
analogous
#6F278E #8E2779 #8E2745
triadic
#8E2779 #798E27 #27798E
tetradic
#8E2779 #8E6F27 #278E3C #27458E
square
#8E2779 #8E6F27 #278E3C #27458E
split-complementary
#8E2779 #458E27 #278E6F
monochromatic
#2E0D27 #5E1A50 #8E2779 #BE34A2 #D25DBB
Accessibility & contrast
On white
7.73
#8E2779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#8E2779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2779
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2779 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A497B
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#962D4D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2779; /* rgb */ color: rgb(142, 39, 121); /* oklch */ color: oklch(46.3% 0.165 337.3);
Tailwind
colors: {
custom: {
50: '#b26ba0',
500: '#8e2779',
950: '#000000',
},
}SCSS
$custom: #8e2779; $custom-light: #b26ba0; $custom-dark: #000000;
JSON
{
"hex": "#8e2779",
"rgb": {
"r": 142,
"g": 39,
"b": 121
},
"hsl": {
"h": 312.233,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.46288,
"c": 0.16488,
"h": 337.3
},
"luminance": 0.08582
}Semantic roles & 50–950 ramp
primary
#8E2779
secondary
#59B86C
accent
#E06748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E