#8E276A#8E276A
#8E276A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.155 H 345.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8E276A |
|---|---|
| RGB | rgb(142, 39, 106) |
| HSL | hsl(321, 57%, 35%) |
| HSV | hsv(321, 73%, 56%) |
| CMYK | cmyk(0%, 72.5%, 25.4%, 44.3%) |
| CIE-LAB | lab(34.49, 49.45, -15.00) |
| CIE-LCH | lch(34.49, 51.67, 343.13°) |
| OKLab | oklab(45.57% 0.1495 -0.0399) |
| OKLCH | oklch(45.57% 0.155 345.1) |
| XYZ | xyz(14.4829, 8.2439, 14.4614) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.77
Dark Magenta
#960056
ΔE00 5.70
Deep Magenta
#A0025C
ΔE00 5.77
Dark Fuchsia
#9D0759
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.13
Reddish Purple
#910951
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E276A #278E4B
analogous
#7E278E #8E276A #8E2736
triadic
#8E276A #6A8E27 #276A8E
tetradic
#8E276A #8E7E27 #278E4B #27368E
square
#8E276A #8E7E27 #278E4B #27368E
split-complementary
#8E276A #368E27 #278E7E
monochromatic
#2E0D22 #5E1A46 #8E276A #BE348E #D25DA9
Accessibility & contrast
On white
7.93
#8E276A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8E276A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E276A
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E276A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E276A | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#525768
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e276a; /* rgb */ color: rgb(142, 39, 106); /* oklch */ color: oklch(45.6% 0.155 345.1);
Tailwind
colors: {
custom: {
50: '#b36b94',
500: '#8e276a',
950: '#000000',
},
}SCSS
$custom: #8e276a; $custom-light: #b36b94; $custom-dark: #000000;
JSON
{
"hex": "#8e276a",
"rgb": {
"r": 142,
"g": 39,
"b": 106
},
"hsl": {
"h": 320.971,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.45567,
"c": 0.15473,
"h": 345.1
},
"luminance": 0.08242
}Semantic roles & 50–950 ramp
primary
#8E276A
secondary
#59B87A
accent
#E07D48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E