#EA87C2#EA87C2

#EA87C2 is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.7% C 0.140 H 344.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#EA87C2
RGBrgb(234, 135, 194)
HSLhsl(324, 70%, 72%)
HSVhsv(324, 42%, 92%)
CMYKcmyk(0%, 42.3%, 17.1%, 8.2%)
CIE-LABlab(68.55, 45.39, -14.23)
CIE-LCHlch(68.55, 47.56, 342.60°)
OKLaboklab(74.69% 0.1344 -0.0376)
OKLCHoklch(74.69% 0.14 344.4)
XYZxyz(52.3340, 38.7189, 55.7455)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87C2 #87EAAF
analogous
#E087EA #EA87C2 #EA8791
triadic
#EA87C2 #C2EA87 #87C2EA
tetradic
#EA87C2 #EAE087 #87EAAF #8791EA
square
#EA87C2 #EAE087 #87EAAF #8791EA
split-complementary
#EA87C2 #91EA87 #87EAE0
monochromatic
#D2258C #E153A8 #EA87C2 #F3BBDC #FAE5F2

Accessibility & contrast

On white

2.40
#EA87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#EA87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87C2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87C2#FFFFFF#000000##000000
##EA87C21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC4
Deuteranopia (green-blind)
#A7ADBF
Tritanopia (blue-blind)
#F6879D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea87c2;
/* rgb */ color: rgb(234, 135, 194);
/* oklch */ color: oklch(74.7% 0.140 344.4);
Tailwind
colors: {
  custom: {
    50: '#f2acd4',
    500: '#ea87c2',
    950: '#000000',
  },
}
SCSS
$custom: #ea87c2;
$custom-light: #f2acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87c2",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 324.242,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74688,
    "c": 0.13957,
    "h": 344.4
  },
  "luminance": 0.38715
}

Semantic roles & 50–950 ramp

primary
#EA87C2
secondary
#D9F2E3
accent
#D26013
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EA87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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