#8E2A5B#8E2A5B
#8E2A5B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.143 H 354.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2A5B |
|---|---|
| RGB | rgb(142, 42, 91) |
| HSL | hsl(331, 54%, 36%) |
| HSV | hsv(331, 70%, 56%) |
| CMYK | cmyk(0%, 70.4%, 35.9%, 44.3%) |
| CIE-LAB | lab(34.32, 46.35, -5.65) |
| CIE-LCH | lch(34.32, 46.69, 353.05°) |
| OKLab | oklab(45.26% 0.1418 -0.0143) |
| OKLCH | oklch(45.26% 0.143 354.2) |
| XYZ | xyz(13.8724, 8.1636, 10.7407) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.79
Dark Fuchsia
#9D0759
ΔE00 3.87
Dark Magenta
#960056
ΔE00 3.93
Mulberry
#920A4E
ΔE00 4.16
Deep Magenta
#A0025C
ΔE00 4.22
Red Violet
#9E0168
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2A5B #2A8E5D
analogous
#8E2A8D #8E2A5B #8E2B2A
triadic
#8E2A5B #5B8E2A #2A5B8E
tetradic
#8E2A5B #8D8E2A #2A8E5D #2B2A8E
square
#8E2A5B #8D8E2A #2A8E5D #2B2A8E
split-complementary
#8E2A5B #2A8E2B #2A8D8E
monochromatic
#300E1E #5F1C3D #8E2A5B #BD3879 #D16298
Accessibility & contrast
On white
7.98
#8E2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8E2A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2A5B
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2A5B | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B455C
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#99223F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e2a5b; /* rgb */ color: rgb(142, 42, 91); /* oklch */ color: oklch(45.3% 0.143 354.2);
Tailwind
colors: {
custom: {
50: '#b36b89',
500: '#8e2a5b',
950: '#000000',
},
}SCSS
$custom: #8e2a5b; $custom-light: #b36b89; $custom-dark: #000000;
JSON
{
"hex": "#8e2a5b",
"rgb": {
"r": 142,
"g": 42,
"b": 91
},
"hsl": {
"h": 330.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.45256,
"c": 0.14255,
"h": 354.2
},
"luminance": 0.08162
}Semantic roles & 50–950 ramp
primary
#8E2A5B
secondary
#5DB68B
accent
#DE954A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C