#8E286A#8E286A
#8E286A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.153 H 345.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8E286A |
|---|---|
| RGB | rgb(142, 40, 106) |
| HSL | hsl(321, 56%, 36%) |
| HSV | hsv(321, 72%, 56%) |
| CMYK | cmyk(0%, 71.8%, 25.4%, 44.3%) |
| CIE-LAB | lab(34.62, 49.07, -14.79) |
| CIE-LCH | lch(34.62, 51.25, 343.23°) |
| OKLab | oklab(45.67% 0.1483 -0.0393) |
| OKLCH | oklch(45.67% 0.153 345.2) |
| XYZ | xyz(14.5162, 8.3105, 14.4725) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.85
Dark Magenta
#960056
ΔE00 5.73
Deep Magenta
#A0025C
ΔE00 5.78
Dark Fuchsia
#9D0759
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.02
Reddish Purple
#910951
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E286A #288E4C
analogous
#7F288E #8E286A #8E2837
triadic
#8E286A #6A8E28 #286A8E
tetradic
#8E286A #8E7F28 #288E4C #28378E
square
#8E286A #8E7F28 #288E4C #28378E
split-complementary
#8E286A #378E28 #288E7F
monochromatic
#2F0D23 #5E1B46 #8E286A #BE358E #D25FA9
Accessibility & contrast
On white
7.89
#8E286A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8E286A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E286A
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E286A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E286A | 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)
#34466C
Deuteranopia (green-blind)
#525868
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e286a; /* rgb */ color: rgb(142, 40, 106); /* oklch */ color: oklch(45.7% 0.153 345.2);
Tailwind
colors: {
custom: {
50: '#b36b94',
500: '#8e286a',
950: '#000000',
},
}SCSS
$custom: #8e286a; $custom-light: #b36b94; $custom-dark: #000000;
JSON
{
"hex": "#8e286a",
"rgb": {
"r": 142,
"g": 40,
"b": 106
},
"hsl": {
"h": 321.176,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.45666,
"c": 0.15345,
"h": 345.2
},
"luminance": 0.08309
}Semantic roles & 50–950 ramp
primary
#8E286A
secondary
#5BB77B
accent
#DF7E48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E