#EC87CA#EC87CA

#EC87CA is a light, vivid pink. Relative luminance 0.394; OKLCH L 75.2% C 0.147 H 341.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#EC87CA
RGBrgb(236, 135, 202)
HSLhsl(320, 73%, 73%)
HSVhsv(320, 43%, 93%)
CMYKcmyk(0%, 42.8%, 14.4%, 7.5%)
CIE-LABlab(69.06, 47.26, -17.89)
CIE-LCHlch(69.06, 50.54, 339.27°)
OKLaboklab(75.22% 0.1389 -0.0476)
OKLCHoklch(75.22% 0.147 341.1)
XYZxyz(53.9172, 39.4286, 60.6363)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC87CA #87ECA9
analogous
#DB87EC #EC87CA #EC8797
triadic
#EC87CA #CAEC87 #87CAEC
tetradic
#EC87CA #ECDB87 #87ECA9 #8797EC
square
#EC87CA #ECDB87 #87ECA9 #8797EC
split-complementary
#EC87CA #97EC87 #87ECDB
monochromatic
#D7229A #E452B3 #EC87CA #F4BCE1 #FBE5F3

Accessibility & contrast

On white

2.36
#EC87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#EC87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC87CA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC87CA#FFFFFF#000000##000000
##EC87CA1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#A6AEC7
Tritanopia (blue-blind)
#F788A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec87ca;
/* rgb */ color: rgb(236, 135, 202);
/* oklch */ color: oklch(75.2% 0.147 341.1);
Tailwind
colors: {
  custom: {
    50: '#f4acda',
    500: '#ec87ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec87ca;
$custom-light: #f4acda;
$custom-dark: #000000;
JSON
{
  "hex": "#ec87ca",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 320.198,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75215,
    "c": 0.14683,
    "h": 341.1
  },
  "luminance": 0.39425
}

Semantic roles & 50–950 ramp

primary
#EC87CA
secondary
#D9F2E1
accent
#D55311
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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