#8E286F#8E286F
#8E286F is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 342.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8E286F |
|---|---|
| RGB | rgb(142, 40, 111) |
| HSL | hsl(318, 56%, 36%) |
| HSV | hsv(318, 72%, 56%) |
| CMYK | cmyk(0%, 71.8%, 21.8%, 44.3%) |
| CIE-LAB | lab(34.84, 49.77, -17.63) |
| CIE-LCH | lch(34.84, 52.80, 340.50°) |
| OKLab | oklab(45.9% 0.1494 -0.0472) |
| OKLCH | oklch(45.9% 0.157 342.5) |
| XYZ | xyz(14.7838, 8.4175, 15.8820) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.31
Bruise
#7E4071
ΔE00 5.80
Warm Purple
#952E8F
ΔE00 6.49
Deep Magenta
#A0025C
ΔE00 6.72
Dark Magenta
#960056
ΔE00 6.75
Dark Fuchsia
#9D0759
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E286F #288E47
analogous
#7A288E #8E286F #8E283C
triadic
#8E286F #6F8E28 #286F8E
tetradic
#8E286F #8E7A28 #288E47 #283C8E
square
#8E286F #8E7A28 #288E47 #283C8E
split-complementary
#8E286F #3C8E28 #288E7A
monochromatic
#2F0D24 #5E1B4A #8E286F #BE3594 #D25FAF
Accessibility & contrast
On white
7.83
#8E286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8E286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E286F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E286F | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#51586D
Tritanopia (blue-blind)
#972948
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8e286f; /* rgb */ color: rgb(142, 40, 111); /* oklch */ color: oklch(45.9% 0.157 342.5);
Tailwind
colors: {
custom: {
50: '#b26b98',
500: '#8e286f',
950: '#000000',
},
}SCSS
$custom: #8e286f; $custom-light: #b26b98; $custom-dark: #000000;
JSON
{
"hex": "#8e286f",
"rgb": {
"r": 142,
"g": 40,
"b": 111
},
"hsl": {
"h": 318.235,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.45895,
"c": 0.15666,
"h": 342.5
},
"luminance": 0.08416
}Semantic roles & 50–950 ramp
primary
#8E286F
secondary
#5BB777
accent
#DF7648
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E