#8E2F72#8E2F72
#8E2F72 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.149 H 341.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F72 |
|---|---|
| RGB | rgb(142, 47, 114) |
| HSL | hsl(318, 50%, 37%) |
| HSV | hsv(318, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 19.7%, 44.3%) |
| CIE-LAB | lab(35.98, 47.38, -17.75) |
| CIE-LCH | lch(35.98, 50.60, 339.46°) |
| OKLab | oklab(46.78% 0.1414 -0.0476) |
| OKLCH | oklch(46.78% 0.149 341.4) |
| XYZ | xyz(15.2095, 9.0001, 16.8525) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.87
Red Violet
#9E0168
ΔE00 5.19
Light Eggplant
#894585
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.05
Grape
#6C3461
ΔE00 7.17
Deep Magenta
#A0025C
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F72 #2F8E4B
analogous
#7B2F8E #8E2F72 #8E2F43
triadic
#8E2F72 #728E2F #2F728E
tetradic
#8E2F72 #8E7B2F #2F8E4B #2F438E
square
#8E2F72 #8E7B2F #2F8E4B #2F438E
split-complementary
#8E2F72 #438E2F #2F8E7B
monochromatic
#321128 #60204D #8E2F72 #BC3E97 #CE6AB0
Accessibility & contrast
On white
7.50
#8E2F72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8E2F72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F72
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F72 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#535A70
Tritanopia (blue-blind)
#97304C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2f72; /* rgb */ color: rgb(142, 47, 114); /* oklch */ color: oklch(46.8% 0.149 341.4);
Tailwind
colors: {
custom: {
50: '#b26f9a',
500: '#8e2f72',
950: '#000000',
},
}SCSS
$custom: #8e2f72; $custom-light: #b26f9a; $custom-dark: #000000;
JSON
{
"hex": "#8e2f72",
"rgb": {
"r": 142,
"g": 47,
"b": 114
},
"hsl": {
"h": 317.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.46776,
"c": 0.14919,
"h": 341.4
},
"luminance": 0.08999
}Semantic roles & 50–950 ramp
primary
#8E2F72
secondary
#64B57C
accent
#DA774E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E