#EC5487#EC5487

#EC5487 is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.2% C 0.191 H 3.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#EC5487
RGBrgb(236, 84, 135)
HSLhsl(340, 80%, 63%)
HSVhsv(340, 64%, 93%)
CMYKcmyk(0%, 64.4%, 42.8%, 7.5%)
CIE-LABlab(57.97, 62.43, 3.93)
CIE-LCHlch(57.97, 62.55, 3.60°)
OKLaboklab(66.24% 0.1907 0.0108)
OKLCHoklch(66.24% 0.191 3.3)
XYZxyz(42.1386, 25.9279, 25.7025)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5487 #54ECB9
analogous
#EC54D3 #EC5487 #EC6D54
triadic
#EC5487 #87EC54 #5487EC
tetradic
#EC5487 #D3EC54 #54ECB9 #6D54EC
square
#EC5487 #D3EC54 #54ECB9 #6D54EC
split-complementary
#EC5487 #54EC6D #54D3EC
monochromatic
#B21449 #E61D60 #EC5487 #F28BAE #F8C2D4

Accessibility & contrast

On white

3.40
#EC5487 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#EC5487 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5487
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5487#FFFFFF#000000##000000
##EC54871.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#737988
Deuteranopia (green-blind)
#9B9683
Tritanopia (blue-blind)
#FF4168
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5487;
/* rgb */ color: rgb(236, 84, 135);
/* oklch */ color: oklch(66.2% 0.191 3.3);
Tailwind
colors: {
  custom: {
    50: '#f78ca9',
    500: '#ec5487',
    950: '#000000',
  },
}
SCSS
$custom: #ec5487;
$custom-light: #f78ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5487",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 339.868,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66242,
    "c": 0.19101,
    "h": 3.3
  },
  "luminance": 0.25923
}

Semantic roles & 50–950 ramp

primary
#EC5487
secondary
#B2E9D7
accent
#DC9509
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5487

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

Preview Lab → · Contrast checker → · Palette generator →

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