#8E276D#8E276D
#8E276D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.157 H 343.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8E276D |
|---|---|
| RGB | rgb(142, 39, 109) |
| HSL | hsl(319, 57%, 35%) |
| HSV | hsv(319, 73%, 56%) |
| CMYK | cmyk(0%, 72.5%, 23.2%, 44.3%) |
| CIE-LAB | lab(34.62, 49.86, -16.70) |
| CIE-LCH | lch(34.62, 52.59, 341.48°) |
| OKLab | oklab(45.7% 0.1501 -0.0446) |
| OKLCH | oklch(45.7% 0.157 343.4) |
| XYZ | xyz(14.6417, 8.3074, 15.2974) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.02
Bruise
#7E4071
ΔE00 5.97
Dark Magenta
#960056
ΔE00 6.31
Deep Magenta
#A0025C
ΔE00 6.33
Dark Fuchsia
#9D0759
ΔE00 6.55
Warm Purple
#952E8F
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E276D #278E48
analogous
#7B278E #8E276D #8E273A
triadic
#8E276D #6D8E27 #276D8E
tetradic
#8E276D #8E7B27 #278E48 #273A8E
square
#8E276D #8E7B27 #278E48 #273A8E
split-complementary
#8E276D #3A8E27 #278E7B
monochromatic
#2E0D23 #5E1A48 #8E276D #BE3492 #D25DAD
Accessibility & contrast
On white
7.89
#8E276D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8E276D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E276D
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E276D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E276D | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#972746
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e276d; /* rgb */ color: rgb(142, 39, 109); /* oklch */ color: oklch(45.7% 0.157 343.4);
Tailwind
colors: {
custom: {
50: '#b36b97',
500: '#8e276d',
950: '#000000',
},
}SCSS
$custom: #8e276d; $custom-light: #b36b97; $custom-dark: #000000;
JSON
{
"hex": "#8e276d",
"rgb": {
"r": 142,
"g": 39,
"b": 109
},
"hsl": {
"h": 319.223,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.45704,
"c": 0.15663,
"h": 343.4
},
"luminance": 0.08306
}Semantic roles & 50–950 ramp
primary
#8E276D
secondary
#59B877
accent
#E07948
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E