#EA87C1#EA87C1

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

Color values

HEX#EA87C1
RGBrgb(234, 135, 193)
HSLhsl(325, 70%, 72%)
HSVhsv(325, 42%, 92%)
CMYKcmyk(0%, 42.3%, 17.5%, 8.2%)
CIE-LABlab(68.51, 45.23, -13.72)
CIE-LCHlch(68.51, 47.27, 343.13°)
OKLaboklab(74.65% 0.1341 -0.0362)
OKLCHoklch(74.65% 0.139 344.9)
XYZxyz(52.2220, 38.6741, 55.1560)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87C1 #87EAB0
analogous
#E187EA #EA87C1 #EA8790
triadic
#EA87C1 #C1EA87 #87C1EA
tetradic
#EA87C1 #EAE187 #87EAB0 #8790EA
square
#EA87C1 #EAE187 #87EAB0 #8790EA
split-complementary
#EA87C1 #90EA87 #87EAE1
monochromatic
#D2258A #E153A6 #EA87C1 #F3BBDC #FAE5F2

Accessibility & contrast

On white

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

On black

8.73
#EA87C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87C1
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87C1#FFFFFF#000000##000000
##EA87C11.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC3
Deuteranopia (green-blind)
#A8ADBE
Tritanopia (blue-blind)
#F6869C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ea87c1;
/* rgb */ color: rgb(234, 135, 193);
/* oklch */ color: oklch(74.7% 0.139 344.9);
Tailwind
colors: {
  custom: {
    50: '#f2acd3',
    500: '#ea87c1',
    950: '#000000',
  },
}
SCSS
$custom: #ea87c1;
$custom-light: #f2acd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87c1",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 324.848,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74652,
    "c": 0.13892,
    "h": 344.9
  },
  "luminance": 0.38671
}

Semantic roles & 50–950 ramp

primary
#EA87C1
secondary
#D9F2E3
accent
#D26213
background
#FFFAFC
surface
#FEF4F9
border
#D6CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EA87C1

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

Preview Lab → · Contrast checker → · Palette generator →

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