#EC4A9D#EC4A9D

#EC4A9D is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 65.9% C 0.211 H 353.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EC4A9D
RGBrgb(236, 74, 157)
HSLhsl(329, 81%, 61%)
HSVhsv(329, 69%, 93%)
CMYKcmyk(0%, 68.6%, 33.5%, 7.5%)
CIE-LABlab(57.24, 68.53, -10.04)
CIE-LCHlch(57.24, 69.26, 351.66°)
OKLaboklab(65.92% 0.2096 -0.0257)
OKLCHoklch(65.92% 0.211 353)
XYZxyz(43.1291, 25.1697, 34.4787)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4A9D #4AEC99
analogous
#EA4AEC #EC4A9D #EC4A4C
triadic
#EC4A9D #9DEC4A #4A9DEC
tetradic
#EC4A9D #ECEA4A #4AEC99 #4A4CEC
square
#EC4A9D #ECEA4A #4AEC99 #4A4CEC
split-complementary
#EC4A9D #4CEC4A #4AECEA
monochromatic
#AA1260 #E1187F #EC4A9D #F281BB #F8B9D9

Accessibility & contrast

On white

3.48
#EC4A9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EC4A9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4A9D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4A9D#FFFFFF#000000##000000
##EC4A9D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65779F
Deuteranopia (green-blind)
#939499
Tritanopia (blue-blind)
#FE3E6D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4a9d;
/* rgb */ color: rgb(236, 74, 157);
/* oklch */ color: oklch(65.9% 0.211 353.0);
Tailwind
colors: {
  custom: {
    50: '#f788b9',
    500: '#ec4a9d',
    950: '#000000',
  },
}
SCSS
$custom: #ec4a9d;
$custom-light: #f788b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4a9d",
  "rgb": {
    "r": 236,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 329.259,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6592,
    "c": 0.21118,
    "h": 353
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#EC4A9D
secondary
#AAE8C8
accent
#DD7008
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180C11
muted
#867D80

Preview Lab

Preview with #EC4A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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