#EA87AB#EA87AB

#EA87AB is a light, vivid pink. Relative luminance 0.378; OKLCH L 73.9% C 0.127 H 357.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EA87AB
RGBrgb(234, 135, 171)
HSLhsl(338, 70%, 72%)
HSVhsv(338, 42%, 92%)
CMYKcmyk(0%, 42.3%, 26.9%, 8.2%)
CIE-LABlab(67.85, 42.08, -2.37)
CIE-LCHlch(67.85, 42.15, 356.77°)
OKLaboklab(73.93% 0.1271 -0.0057)
OKLCHoklch(73.93% 0.127 357.4)
XYZxyz(49.9479, 37.7645, 43.1788)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87AB #87EAC6
analogous
#EA87DC #EA87AB #EA9587
triadic
#EA87AB #ABEA87 #87ABEA
tetradic
#EA87AB #DCEA87 #87EAC6 #9587EA
square
#EA87AB #DCEA87 #87EAC6 #9587EA
split-complementary
#EA87AB #87EA95 #87DCEA
monochromatic
#D22564 #E15387 #EA87AB #F3BBCF #FAE5ED

Accessibility & contrast

On white

2.46
#EA87AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#EA87AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87AB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87AB#FFFFFF#000000##000000
##EA87AB1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#949AAC
Deuteranopia (green-blind)
#ADACA9
Tritanopia (blue-blind)
#F88194
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea87ab;
/* rgb */ color: rgb(234, 135, 171);
/* oklch */ color: oklch(73.9% 0.127 357.4);
Tailwind
colors: {
  custom: {
    50: '#f3acc4',
    500: '#ea87ab',
    950: '#000000',
  },
}
SCSS
$custom: #ea87ab;
$custom-light: #f3acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87ab",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 338.182,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.1272,
    "h": 357.4
  },
  "luminance": 0.37761
}

Semantic roles & 50–950 ramp

primary
#EA87AB
secondary
#D9F2E9
accent
#D28D13
background
#FFFAFC
surface
#FEF4F8
border
#D6CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EA87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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