#EA87AC#EA87AC

#EA87AC is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.0% C 0.128 H 356.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EA87AC
RGBrgb(234, 135, 172)
HSLhsl(338, 70%, 72%)
HSVhsv(338, 42%, 92%)
CMYKcmyk(0%, 42.3%, 26.5%, 8.2%)
CIE-LABlab(67.87, 42.21, -2.90)
CIE-LCHlch(67.87, 42.31, 356.08°)
OKLaboklab(73.96% 0.1274 -0.0071)
OKLCHoklch(73.96% 0.128 356.8)
XYZxyz(50.0435, 37.8027, 43.6827)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87AC #87EAC5
analogous
#EA87DD #EA87AC #EA9487
triadic
#EA87AC #ACEA87 #87ACEA
tetradic
#EA87AC #DDEA87 #87EAC5 #9487EA
square
#EA87AC #DDEA87 #87EAC5 #9487EA
split-complementary
#EA87AC #87EA94 #87DDEA
monochromatic
#D22565 #E15388 #EA87AC #F3BBD0 #FAE5ED

Accessibility & contrast

On white

2.45
#EA87AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EA87AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87AC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87AC#FFFFFF#000000##000000
##EA87AC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#949BAD
Deuteranopia (green-blind)
#ADACAA
Tritanopia (blue-blind)
#F88294
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea87ac;
/* rgb */ color: rgb(234, 135, 172);
/* oklch */ color: oklch(74.0% 0.128 356.8);
Tailwind
colors: {
  custom: {
    50: '#f3acc4',
    500: '#ea87ac',
    950: '#000000',
  },
}
SCSS
$custom: #ea87ac;
$custom-light: #f3acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87ac",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 337.576,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.12761,
    "h": 356.8
  },
  "luminance": 0.37799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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