#EA87D1#EA87D1

#EA87D1 is a light, vivid pink. Relative luminance 0.394; OKLCH L 75.2% C 0.150 H 337.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#EA87D1
RGBrgb(234, 135, 209)
HSLhsl(315, 70%, 72%)
HSVhsv(315, 42%, 92%)
CMYKcmyk(0%, 42.3%, 10.7%, 8.2%)
CIE-LABlab(69.06, 47.75, -21.81)
CIE-LCHlch(69.06, 52.49, 335.45°)
OKLaboklab(75.24% 0.1386 -0.0585)
OKLCHoklch(75.24% 0.15 337.1)
XYZxyz(54.1044, 39.4271, 65.0697)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D1 #87EAA0
analogous
#D287EA #EA87D1 #EA879F
triadic
#EA87D1 #D1EA87 #87D1EA
tetradic
#EA87D1 #EAD287 #87EAA0 #879FEA
square
#EA87D1 #EAD287 #87EAA0 #879FEA
split-complementary
#EA87D1 #9FEA87 #87EAD2
monochromatic
#D225A6 #E153BD #EA87D1 #F3BBE5 #FAE5F5

Accessibility & contrast

On white

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

On black

8.88
#EA87D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D1
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D1#FFFFFF#000000##000000
##EA87D11.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea87d1;
/* rgb */ color: rgb(234, 135, 209);
/* oklch */ color: oklch(75.2% 0.150 337.1);
Tailwind
colors: {
  custom: {
    50: '#f2acdf',
    500: '#ea87d1',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d1;
$custom-light: #f2acdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d1",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 209
  },
  "hsl": {
    "h": 315.152,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75242,
    "c": 0.15043,
    "h": 337.1
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87D1

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

Preview Lab → · Contrast checker → · Palette generator →

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