#E87CD4#E87CD4

#E87CD4 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.5% C 0.170 H 334.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#E87CD4
RGBrgb(232, 124, 212)
HSLhsl(311, 70%, 70%)
HSVhsv(311, 47%, 91%)
CMYKcmyk(0%, 46.6%, 8.6%, 9%)
CIE-LABlab(66.77, 53.14, -27.01)
CIE-LCHlch(66.77, 59.61, 333.06°)
OKLaboklab(73.51% 0.1531 -0.073)
OKLCHoklch(73.51% 0.17 334.5)
XYZxyz(52.3700, 36.3278, 66.5282)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87CD4 #7CE890
analogous
#C67CE8 #E87CD4 #E87C9E
triadic
#E87CD4 #D4E87C #7CD4E8
tetradic
#E87CD4 #E8C67C #7CE890 #7C9EE8
square
#E87CD4 #E8C67C #7CE890 #7C9EE8
split-complementary
#E87CD4 #9EE87C #7CE8C6
monochromatic
#C723A8 #DF48C3 #E87CD4 #F1B0E5 #FAE4F6

Accessibility & contrast

On white

2.54
#E87CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#E87CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87CD4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87CD4#FFFFFF#000000##000000
##E87CD41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D7
Deuteranopia (green-blind)
#99A8D1
Tritanopia (blue-blind)
#F1829E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e87cd4;
/* rgb */ color: rgb(232, 124, 212);
/* oklch */ color: oklch(73.5% 0.170 334.5);
Tailwind
colors: {
  custom: {
    50: '#f1a5e1',
    500: '#e87cd4',
    950: '#000000',
  },
}
SCSS
$custom: #e87cd4;
$custom-light: #f1a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e87cd4",
  "rgb": {
    "r": 232,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 311.111,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73512,
    "c": 0.16963,
    "h": 334.5
  },
  "luminance": 0.36325
}

Semantic roles & 50–950 ramp

primary
#E87CD4
secondary
#D1EFD6
accent
#D23713
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E87CD4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E87CD4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva