#EA87CF#EA87CF

#EA87CF is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.2% C 0.149 H 338.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#EA87CF
RGBrgb(234, 135, 207)
HSLhsl(316, 70%, 72%)
HSVhsv(316, 42%, 92%)
CMYKcmyk(0%, 42.3%, 11.5%, 8.2%)
CIE-LABlab(68.99, 47.42, -20.80)
CIE-LCHlch(68.99, 51.79, 336.31°)
OKLaboklab(75.17% 0.1381 -0.0557)
OKLCHoklch(75.17% 0.149 338)
XYZxyz(53.8583, 39.3286, 63.7738)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87CF #87EAA2
analogous
#D487EA #EA87CF #EA879D
triadic
#EA87CF #CFEA87 #87CFEA
tetradic
#EA87CF #EAD487 #87EAA2 #879DEA
square
#EA87CF #EAD487 #87EAA2 #879DEA
split-complementary
#EA87CF #9DEA87 #87EAD4
monochromatic
#D225A3 #E153BA #EA87CF #F3BBE4 #FAE5F5

Accessibility & contrast

On white

2.37
#EA87CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#EA87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87CF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87CF#FFFFFF#000000##000000
##EA87CF1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD2
Deuteranopia (green-blind)
#A3AECC
Tritanopia (blue-blind)
#F48AA2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ea87cf;
/* rgb */ color: rgb(234, 135, 207);
/* oklch */ color: oklch(75.2% 0.149 338.0);
Tailwind
colors: {
  custom: {
    50: '#f2acdd',
    500: '#ea87cf',
    950: '#000000',
  },
}
SCSS
$custom: #ea87cf;
$custom-light: #f2acdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87cf",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 316.364,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75166,
    "c": 0.14888,
    "h": 338
  },
  "luminance": 0.39325
}

Semantic roles & 50–950 ramp

primary
#EA87CF
secondary
#D9F2E0
accent
#D24713
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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