#8E2F5D#8E2F5D
#8E2F5D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 353.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F5D |
|---|---|
| RGB | rgb(142, 47, 93) |
| HSL | hsl(331, 50%, 37%) |
| HSV | hsv(331, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 34.5%, 44.3%) |
| CIE-LAB | lab(35.15, 44.50, -5.69) |
| CIE-LCH | lch(35.15, 44.86, 352.71°) |
| OKLab | oklab(45.89% 0.1359 -0.0145) |
| OKLCH | oklch(45.89% 0.137 353.9) |
| XYZ | xyz(14.1484, 8.5757, 11.2640) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.56
Reddish Purple
#910951
ΔE00 4.68
Dark Magenta
#960056
ΔE00 4.79
Deep Magenta
#A0025C
ΔE00 4.85
Mulberry
#920A4E
ΔE00 4.98
Red Violet
#9E0168
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F5D #2F8E60
analogous
#8E2F8D #8E2F5D #8E302F
triadic
#8E2F5D #5D8E2F #2F5D8E
tetradic
#8E2F5D #8D8E2F #2F8E60 #302F8E
square
#8E2F5D #8D8E2F #2F8E60 #302F8E
split-complementary
#8E2F5D #2F8E30 #2F8D8E
monochromatic
#321121 #60203F #8E2F5D #BC3E7B #CE6A9A
Accessibility & contrast
On white
7.74
#8E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8E2F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F5D
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F5D | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E485E
Deuteranopia (green-blind)
#59595B
Tritanopia (blue-blind)
#992842
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2f5d; /* rgb */ color: rgb(142, 47, 93); /* oklch */ color: oklch(45.9% 0.137 353.9);
Tailwind
colors: {
custom: {
50: '#b36e8a',
500: '#8e2f5d',
950: '#000000',
},
}SCSS
$custom: #8e2f5d; $custom-light: #b36e8a; $custom-dark: #000000;
JSON
{
"hex": "#8e2f5d",
"rgb": {
"r": 142,
"g": 47,
"b": 93
},
"hsl": {
"h": 330.947,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.45893,
"c": 0.13664,
"h": 353.9
},
"luminance": 0.08574
}Semantic roles & 50–950 ramp
primary
#8E2F5D
secondary
#64B58E
accent
#DA964E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C