#8E2F5F#8E2F5F
#8E2F5F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.138 H 352.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F5F |
|---|---|
| RGB | rgb(142, 47, 95) |
| HSL | hsl(330, 50%, 37%) |
| HSV | hsv(330, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 33.1%, 44.3%) |
| CIE-LAB | lab(35.23, 44.75, -6.86) |
| CIE-LCH | lch(35.23, 45.27, 351.28°) |
| OKLab | oklab(45.97% 0.1365 -0.0176) |
| OKLCH | oklch(45.97% 0.138 352.6) |
| XYZ | xyz(14.2381, 8.6116, 11.7366) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.66
Dark Magenta
#960056
ΔE00 4.86
Reddish Purple
#910951
ΔE00 4.87
Deep Magenta
#A0025C
ΔE00 4.88
Mulberry
#920A4E
ΔE00 5.27
Red Violet
#9E0168
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F5F #2F8E5E
analogous
#8E2F8E #8E2F5F #8E2F30
triadic
#8E2F5F #5F8E2F #2F5F8E
tetradic
#8E2F5F #8E8E2F #2F8E5E #2F308E
square
#8E2F5F #8E8E2F #2F8E5E #2F308E
split-complementary
#8E2F5F #308E2F #2F8E8E
monochromatic
#321121 #602040 #8E2F5F #BC3E7E #CE6A9C
Accessibility & contrast
On white
7.71
#8E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#8E2F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F5F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F5F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#992943
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8e2f5f; /* rgb */ color: rgb(142, 47, 95); /* oklch */ color: oklch(46.0% 0.138 352.6);
Tailwind
colors: {
custom: {
50: '#b36e8c',
500: '#8e2f5f',
950: '#000000',
},
}SCSS
$custom: #8e2f5f; $custom-light: #b36e8c; $custom-dark: #000000;
JSON
{
"hex": "#8e2f5f",
"rgb": {
"r": 142,
"g": 47,
"b": 95
},
"hsl": {
"h": 329.684,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.45969,
"c": 0.13763,
"h": 352.6
},
"luminance": 0.0861
}Semantic roles & 50–950 ramp
primary
#8E2F5F
secondary
#64B58C
accent
#DA934E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D