#8E2D72#8E2D72
#8E2D72 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.152 H 341.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2D72 |
|---|---|
| RGB | rgb(142, 45, 114) |
| HSL | hsl(317, 52%, 37%) |
| HSV | hsv(317, 68%, 56%) |
| CMYK | cmyk(0%, 68.3%, 19.7%, 44.3%) |
| CIE-LAB | lab(35.68, 48.22, -18.22) |
| CIE-LCH | lch(35.68, 51.55, 339.30°) |
| OKLab | oklab(46.55% 0.1439 -0.0489) |
| OKLCH | oklch(46.55% 0.152 341.2) |
| XYZ | xyz(15.1314, 8.8439, 16.8265) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.02
Bruise
#7E4071
ΔE00 5.13
Warm Purple
#952E8F
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.18
Grape
#6C3461
ΔE00 7.22
Deep Magenta
#A0025C
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2D72 #2D8E49
analogous
#7A2D8E #8E2D72 #8E2D41
triadic
#8E2D72 #728E2D #2D728E
tetradic
#8E2D72 #8E7A2D #2D8E49 #2D418E
square
#8E2D72 #8E7A2D #2D8E49 #2D418E
split-complementary
#8E2D72 #418E2D #2D8E7A
monochromatic
#311027 #601E4D #8E2D72 #BC3C97 #CF67B1
Accessibility & contrast
On white
7.59
#8E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#8E2D72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2D72
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2D72 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#972F4B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e2d72; /* rgb */ color: rgb(142, 45, 114); /* oklch */ color: oklch(46.6% 0.152 341.2);
Tailwind
colors: {
custom: {
50: '#b26e9a',
500: '#8e2d72',
950: '#000000',
},
}SCSS
$custom: #8e2d72; $custom-light: #b26e9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2d72",
"rgb": {
"r": 142,
"g": 45,
"b": 114
},
"hsl": {
"h": 317.32,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.46554,
"c": 0.15201,
"h": 341.2
},
"luminance": 0.08842
}Semantic roles & 50–950 ramp
primary
#8E2D72
secondary
#61B57A
accent
#DB764C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E