#8E2F6D#8E2F6D
#8E2F6D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.146 H 344.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F6D |
|---|---|
| RGB | rgb(142, 47, 109) |
| HSL | hsl(321, 50%, 37%) |
| HSV | hsv(321, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 23.2%, 44.3%) |
| CIE-LAB | lab(35.77, 46.65, -14.93) |
| CIE-LCH | lch(35.77, 48.98, 342.25°) |
| OKLab | oklab(46.55% 0.1403 -0.0397) |
| OKLCH | oklch(46.55% 0.146 344.2) |
| XYZ | xyz(14.9327, 8.8894, 15.3944) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.75
Bruise
#7E4071
ΔE00 5.05
Deep Magenta
#A0025C
ΔE00 6.51
Dark Magenta
#960056
ΔE00 6.68
Dark Fuchsia
#9D0759
ΔE00 6.69
Light Eggplant
#894585
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F6D #2F8E50
analogous
#802F8E #8E2F6D #8E2F3E
triadic
#8E2F6D #6D8E2F #2F6D8E
tetradic
#8E2F6D #8E802F #2F8E50 #2F3E8E
square
#8E2F6D #8E802F #2F8E50 #2F3E8E
split-complementary
#8E2F6D #3E8E2F #2F8E80
monochromatic
#321126 #60204A #8E2F6D #BC3E90 #CE6AAB
Accessibility & contrast
On white
7.56
#8E2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8E2F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F6D
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F6D | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#545A6B
Tritanopia (blue-blind)
#972E49
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8e2f6d; /* rgb */ color: rgb(142, 47, 109); /* oklch */ color: oklch(46.5% 0.146 344.2);
Tailwind
colors: {
custom: {
50: '#b26e97',
500: '#8e2f6d',
950: '#000000',
},
}SCSS
$custom: #8e2f6d; $custom-light: #b26e97; $custom-dark: #000000;
JSON
{
"hex": "#8e2f6d",
"rgb": {
"r": 142,
"g": 47,
"b": 109
},
"hsl": {
"h": 320.842,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.46549,
"c": 0.14581,
"h": 344.2
},
"luminance": 0.08888
}Semantic roles & 50–950 ramp
primary
#8E2F6D
secondary
#64B580
accent
#DA7F4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E