#EA87D4#EA87D4

#EA87D4 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.4% C 0.153 H 335.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#EA87D4
RGBrgb(234, 135, 212)
HSLhsl(313, 70%, 72%)
HSVhsv(313, 42%, 92%)
CMYKcmyk(0%, 42.3%, 9.4%, 8.2%)
CIE-LABlab(69.17, 48.24, -23.31)
CIE-LCHlch(69.17, 53.57, 334.21°)
OKLaboklab(75.36% 0.1393 -0.0627)
OKLCHoklch(75.36% 0.153 335.8)
XYZxyz(54.4793, 39.5770, 67.0442)
Luminance0.3957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D4 #87EA9D
analogous
#CE87EA #EA87D4 #EA87A3
triadic
#EA87D4 #D4EA87 #87D4EA
tetradic
#EA87D4 #EACE87 #87EA9D #87A3EA
square
#EA87D4 #EACE87 #87EA9D #87A3EA
split-complementary
#EA87D4 #A3EA87 #87EACE
monochromatic
#D225AB #E153C1 #EA87D4 #F3BBE7 #FAE5F6

Accessibility & contrast

On white

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

On black

8.91
#EA87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D4#FFFFFF#000000##000000
##EA87D41.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D7
Deuteranopia (green-blind)
#A2AED1
Tritanopia (blue-blind)
#F38BA4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d4;
/* rgb */ color: rgb(234, 135, 212);
/* oklch */ color: oklch(75.4% 0.153 335.8);
Tailwind
colors: {
  custom: {
    50: '#f2ace1',
    500: '#ea87d4',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d4;
$custom-light: #f2ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d4",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 313.333,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.15281,
    "h": 335.8
  },
  "luminance": 0.39574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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