#EC5489#EC5489

#EC5489 is a light, vivid pink. Relative luminance 0.260; OKLCH L 66.3% C 0.192 H 2.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#EC5489
RGBrgb(236, 84, 137)
HSLhsl(339, 80%, 63%)
HSVhsv(339, 64%, 93%)
CMYKcmyk(0%, 64.4%, 41.9%, 7.5%)
CIE-LABlab(58.02, 62.62, 2.83)
CIE-LCHlch(58.02, 62.69, 2.59°)
OKLaboklab(66.3% 0.1914 0.008)
OKLCHoklch(66.3% 0.192 2.4)
XYZxyz(42.2807, 25.9847, 26.4511)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5489 #54ECB7
analogous
#EC54D5 #EC5489 #EC6B54
triadic
#EC5489 #89EC54 #5489EC
tetradic
#EC5489 #D5EC54 #54ECB7 #6B54EC
square
#EC5489 #D5EC54 #54ECB7 #6B54EC
split-complementary
#EC5489 #54EC6B #54D5EC
monochromatic
#B2144B #E61D63 #EC5489 #F28BAF #F8C2D5

Accessibility & contrast

On white

3.39
#EC5489 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EC5489 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5489
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5489#FFFFFF#000000##000000
##EC54891.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798A
Deuteranopia (green-blind)
#9B9685
Tritanopia (blue-blind)
#FF4269
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5489;
/* rgb */ color: rgb(236, 84, 137);
/* oklch */ color: oklch(66.3% 0.192 2.4);
Tailwind
colors: {
  custom: {
    50: '#f78cab',
    500: '#ec5489',
    950: '#000000',
  },
}
SCSS
$custom: #ec5489;
$custom-light: #f78cab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5489",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 137
  },
  "hsl": {
    "h": 339.079,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.663,
    "c": 0.19156,
    "h": 2.4
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#EC5489
secondary
#B2E9D6
accent
#DC9309
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5489

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

Preview Lab → · Contrast checker → · Palette generator →

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