#EC5189#EC5189

#EC5189 is a light, vivid pink. Relative luminance 0.255; OKLCH L 66.0% C 0.195 H 1.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#EC5189
RGBrgb(236, 81, 137)
HSLhsl(338, 80%, 62%)
HSVhsv(338, 66%, 93%)
CMYKcmyk(0%, 65.7%, 41.9%, 7.5%)
CIE-LABlab(57.59, 63.81, 2.20)
CIE-LCHlch(57.59, 63.85, 1.98°)
OKLaboklab(65.98% 0.1952 0.0064)
OKLCHoklch(65.98% 0.195 1.9)
XYZxyz(42.0528, 25.5290, 26.3751)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5189 #51ECB4
analogous
#EC51D6 #EC5189 #EC6751
triadic
#EC5189 #89EC51 #5189EC
tetradic
#EC5189 #D6EC51 #51ECB4 #6751EC
square
#EC5189 #D6EC51 #51ECB4 #6751EC
split-complementary
#EC5189 #51EC67 #51D6EC
monochromatic
#AF134C #E61A64 #EC5189 #F288AE #F8BFD4

Accessibility & contrast

On white

3.44
#EC5189 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#EC5189 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5189
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5189#FFFFFF#000000##000000
##EC51891.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70778A
Deuteranopia (green-blind)
#9A9585
Tritanopia (blue-blind)
#FF3E67
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5189;
/* rgb */ color: rgb(236, 81, 137);
/* oklch */ color: oklch(66.0% 0.195 1.9);
Tailwind
colors: {
  custom: {
    50: '#f78bab',
    500: '#ec5189',
    950: '#000000',
  },
}
SCSS
$custom: #ec5189;
$custom-light: #f78bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5189",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 338.323,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.19527,
    "h": 1.9
  },
  "luminance": 0.25524
}

Semantic roles & 50–950 ramp

primary
#EC5189
secondary
#B0E9D4
accent
#DD9009
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #EC5189

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

Preview Lab → · Contrast checker → · Palette generator →

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