#EA87D2#EA87D2

#EA87D2 is a light, vivid pink. Relative luminance 0.395; OKLCH L 75.3% C 0.151 H 336.7°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EA87D2
RGBrgb(234, 135, 210)
HSLhsl(315, 70%, 72%)
HSVhsv(315, 42%, 92%)
CMYKcmyk(0%, 42.3%, 10.3%, 8.2%)
CIE-LABlab(69.10, 47.91, -22.31)
CIE-LCHlch(69.10, 52.85, 335.03°)
OKLaboklab(75.28% 0.1388 -0.0599)
OKLCHoklch(75.28% 0.151 336.7)
XYZxyz(54.2285, 39.4767, 65.7237)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D2 #87EA9F
analogous
#D087EA #EA87D2 #EA87A1
triadic
#EA87D2 #D2EA87 #87D2EA
tetradic
#EA87D2 #EAD087 #87EA9F #87A1EA
square
#EA87D2 #EAD087 #87EA9F #87A1EA
split-complementary
#EA87D2 #A1EA87 #87EAD0
monochromatic
#D225A8 #E153BE #EA87D2 #F3BBE6 #FAE5F5

Accessibility & contrast

On white

2.36
#EA87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EA87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D2#FFFFFF#000000##000000
##EA87D21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#899FD5
Deuteranopia (green-blind)
#A3AECF
Tritanopia (blue-blind)
#F38AA3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d2;
/* rgb */ color: rgb(234, 135, 210);
/* oklch */ color: oklch(75.3% 0.151 336.7);
Tailwind
colors: {
  custom: {
    50: '#f2ace0',
    500: '#ea87d2',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d2;
$custom-light: #f2ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d2",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 314.545,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.15121,
    "h": 336.7
  },
  "luminance": 0.39474
}

Semantic roles & 50–950 ramp

primary
#EA87D2
secondary
#D9F2DF
accent
#D24213
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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