#EC5A89#EC5A89

#EC5A89 is a light, vivid pink. Relative luminance 0.270; OKLCH L 67.0% C 0.184 H 3.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#EC5A89
RGBrgb(236, 90, 137)
HSLhsl(341, 79%, 64%)
HSVhsv(341, 62%, 93%)
CMYKcmyk(0%, 61.9%, 41.9%, 7.5%)
CIE-LABlab(58.93, 60.15, 4.15)
CIE-LCHlch(58.93, 60.29, 3.95°)
OKLaboklab(66.98% 0.1836 0.0114)
OKLCHoklch(66.98% 0.184 3.6)
XYZxyz(42.7665, 26.9563, 26.6130)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A89 #5AECBD
analogous
#EC5AD2 #EC5A89 #EC745A
triadic
#EC5A89 #89EC5A #5A89EC
tetradic
#EC5A89 #D2EC5A #5AECBD #745AEC
square
#EC5A89 #D2EC5A #5AECBD #745AEC
split-complementary
#EC5A89 #5AEC74 #5AD2EC
monochromatic
#B71549 #E62362 #EC5A89 #F291B0 #F9C8D7

Accessibility & contrast

On white

3.29
#EC5A89 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#EC5A89 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A89
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A89#FFFFFF#000000##000000
##EC5A891.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#777C8A
Deuteranopia (green-blind)
#9D9886
Tritanopia (blue-blind)
#FF496C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5a89;
/* rgb */ color: rgb(236, 90, 137);
/* oklch */ color: oklch(67.0% 0.184 3.6);
Tailwind
colors: {
  custom: {
    50: '#f790ab',
    500: '#ec5a89',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a89;
$custom-light: #f790ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a89",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 137
  },
  "hsl": {
    "h": 340.685,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.18392,
    "h": 3.6
  },
  "luminance": 0.26951
}

Semantic roles & 50–950 ramp

primary
#EC5A89
secondary
#B7EBDA
accent
#DC980A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5A89

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

Preview Lab → · Contrast checker → · Palette generator →

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