#8E2A72#8E2A72
#8E2A72 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.156 H 341.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A72 |
|---|---|
| RGB | rgb(142, 42, 114) |
| HSL | hsl(317, 54%, 36%) |
| HSV | hsv(317, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 19.7%, 44.3%) |
| CIE-LAB | lab(35.25, 49.43, -18.89) |
| CIE-LCH | lch(35.25, 52.92, 339.09°) |
| OKLab | oklab(46.24% 0.1476 -0.0508) |
| OKLCH | oklch(46.24% 0.156 341) |
| XYZ | xyz(15.0210, 8.6231, 16.7897) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.81
Bruise
#7E4071
ΔE00 5.53
Warm Purple
#952E8F
ΔE00 5.84
Light Eggplant
#894585
ΔE00 6.51
Darkish Purple
#751973
ΔE00 7.20
Deep Magenta
#A0025C
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A72 #2A8E46
analogous
#782A8E #8E2A72 #8E2A40
triadic
#8E2A72 #728E2A #2A728E
tetradic
#8E2A72 #8E782A #2A8E46 #2A408E
square
#8E2A72 #8E782A #2A8E46 #2A408E
split-complementary
#8E2A72 #408E2A #2A8E78
monochromatic
#300E26 #5F1C4C #8E2A72 #BD3898 #D162B2
Accessibility & contrast
On white
7.71
#8E2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#8E2A72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A72
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A72 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314974
Deuteranopia (green-blind)
#505970
Tritanopia (blue-blind)
#972C4A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2a72; /* rgb */ color: rgb(142, 42, 114); /* oklch */ color: oklch(46.2% 0.156 341.0);
Tailwind
colors: {
custom: {
50: '#b26c9a',
500: '#8e2a72',
950: '#000000',
},
}SCSS
$custom: #8e2a72; $custom-light: #b26c9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2a72",
"rgb": {
"r": 142,
"g": 42,
"b": 114
},
"hsl": {
"h": 316.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.46238,
"c": 0.15608,
"h": 341
},
"luminance": 0.08622
}Semantic roles & 50–950 ramp
primary
#8E2A72
secondary
#5DB676
accent
#DE734A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E