#E87CD5#E87CD5

#E87CD5 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.6% C 0.170 H 334.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#E87CD5
RGBrgb(232, 124, 213)
HSLhsl(311, 70%, 70%)
HSVhsv(311, 47%, 91%)
CMYKcmyk(0%, 46.6%, 8.2%, 9%)
CIE-LABlab(66.81, 53.30, -27.50)
CIE-LCHlch(66.81, 59.98, 332.71°)
OKLaboklab(73.55% 0.1533 -0.0744)
OKLCHoklch(73.55% 0.17 334.1)
XYZxyz(52.4965, 36.3785, 67.1946)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87CD5 #7CE88F
analogous
#C57CE8 #E87CD5 #E87C9F
triadic
#E87CD5 #D5E87C #7CD5E8
tetradic
#E87CD5 #E8C57C #7CE88F #7C9FE8
square
#E87CD5 #E8C57C #7CE88F #7C9FE8
split-complementary
#E87CD5 #9FE87C #7CE8C5
monochromatic
#C723AA #DF48C4 #E87CD5 #F1B0E6 #FAE4F6

Accessibility & contrast

On white

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

On black

8.28
#E87CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87CD5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87CD5#FFFFFF#000000##000000
##E87CD51.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99D8
Deuteranopia (green-blind)
#99A8D2
Tritanopia (blue-blind)
#F1829F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #e87cd5;
/* rgb */ color: rgb(232, 124, 213);
/* oklch */ color: oklch(73.6% 0.170 334.1);
Tailwind
colors: {
  custom: {
    50: '#f1a5e2',
    500: '#e87cd5',
    950: '#000000',
  },
}
SCSS
$custom: #e87cd5;
$custom-light: #f1a5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e87cd5",
  "rgb": {
    "r": 232,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 310.556,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.17043,
    "h": 334.1
  },
  "luminance": 0.36375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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