#EC87AA#EC87AA

#EC87AA is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.1% C 0.129 H 358.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EC87AA
RGBrgb(236, 135, 170)
HSLhsl(339, 73%, 73%)
HSVhsv(339, 43%, 93%)
CMYKcmyk(0%, 42.8%, 28%, 7.5%)
CIE-LABlab(68.07, 42.63, -1.46)
CIE-LCHlch(68.07, 42.66, 358.04°)
OKLaboklab(74.14% 0.1289 -0.0032)
OKLCHoklch(74.14% 0.129 358.6)
XYZxyz(50.5134, 38.0670, 42.7096)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC87AA #87ECC9
analogous
#EC87DC #EC87AA #EC9687
triadic
#EC87AA #AAEC87 #87AAEC
tetradic
#EC87AA #DCEC87 #87ECC9 #9687EC
square
#EC87AA #DCEC87 #87ECC9 #9687EC
split-complementary
#EC87AA #87EC96 #87DCEC
monochromatic
#D72261 #E45285 #EC87AA #F4BCCF #FBE5EC

Accessibility & contrast

On white

2.44
#EC87AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EC87AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC87AA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC87AA#FFFFFF#000000##000000
##EC87AA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#959BAB
Deuteranopia (green-blind)
#AEADA8
Tritanopia (blue-blind)
#FB8193
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec87aa;
/* rgb */ color: rgb(236, 135, 170);
/* oklch */ color: oklch(74.1% 0.129 358.6);
Tailwind
colors: {
  custom: {
    50: '#f4acc3',
    500: '#ec87aa',
    950: '#000000',
  },
}
SCSS
$custom: #ec87aa;
$custom-light: #f4acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec87aa",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 339.208,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.12894,
    "h": 358.6
  },
  "luminance": 0.38063
}

Semantic roles & 50–950 ramp

primary
#EC87AA
secondary
#D9F2E9
accent
#D59111
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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