#EC87BD#EC87BD

#EC87BD is a light, vivid pink. Relative luminance 0.388; OKLCH L 74.8% C 0.138 H 347.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#EC87BD
RGBrgb(236, 135, 189)
HSLhsl(328, 73%, 73%)
HSVhsv(328, 43%, 93%)
CMYKcmyk(0%, 42.8%, 19.9%, 7.5%)
CIE-LABlab(68.63, 45.29, -11.28)
CIE-LCHlch(68.63, 46.67, 346.02°)
OKLaboklab(74.75% 0.1351 -0.0295)
OKLCHoklch(74.75% 0.138 347.7)
XYZxyz(52.4423, 38.8386, 52.8687)
Luminance0.3883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC87BD #87ECB6
analogous
#E987EC #EC87BD #EC878A
triadic
#EC87BD #BDEC87 #87BDEC
tetradic
#EC87BD #ECE987 #87ECB6 #878AEC
square
#EC87BD #ECE987 #87ECB6 #878AEC
split-complementary
#EC87BD #8AEC87 #87ECE9
monochromatic
#D72283 #E452A0 #EC87BD #F4BCDA #FBE5F0

Accessibility & contrast

On white

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

On black

8.77
#EC87BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC87BD
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC87BD#FFFFFF#000000##000000
##EC87BD1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DBF
Deuteranopia (green-blind)
#AAAEBA
Tritanopia (blue-blind)
#F9859B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec87bd;
/* rgb */ color: rgb(236, 135, 189);
/* oklch */ color: oklch(74.8% 0.138 347.7);
Tailwind
colors: {
  custom: {
    50: '#f4acd0',
    500: '#ec87bd',
    950: '#000000',
  },
}
SCSS
$custom: #ec87bd;
$custom-light: #f4acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec87bd",
  "rgb": {
    "r": 236,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 327.921,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74753,
    "c": 0.13828,
    "h": 347.7
  },
  "luminance": 0.38835
}

Semantic roles & 50–950 ramp

primary
#EC87BD
secondary
#D9F2E5
accent
#D56C11
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EC87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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