#EC4C78#EC4C78

#EC4C78 is a light, vivid pink. Relative luminance 0.244; OKLCH L 65.0% C 0.197 H 8.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#EC4C78
RGBrgb(236, 76, 120)
HSLhsl(344, 81%, 61%)
HSVhsv(344, 68%, 93%)
CMYKcmyk(0%, 67.8%, 49.2%, 7.5%)
CIE-LABlab(56.45, 64.18, 10.60)
CIE-LCHlch(56.45, 65.05, 9.38°)
OKLaboklab(64.99% 0.1953 0.0274)
OKLCHoklch(64.99% 0.197 8)
XYZxyz(40.5701, 24.3631, 20.3318)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4C78 #4CECC0
analogous
#EC4CC8 #EC4C78 #EC704C
triadic
#EC4C78 #78EC4C #4C78EC
tetradic
#EC4C78 #C8EC4C #4CECC0 #704CEC
square
#EC4C78 #C8EC4C #4CECC0 #704CEC
split-complementary
#EC4C78 #4CEC70 #4CC8EC
monochromatic
#AB123C #E31850 #EC4C78 #F283A2 #F8BBCB

Accessibility & contrast

On white

3.58
#EC4C78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#EC4C78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4C78
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4C78#FFFFFF#000000##000000
##EC4C781.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#717379
Deuteranopia (green-blind)
#9B9374
Tritanopia (blue-blind)
#FF305E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4c78;
/* rgb */ color: rgb(236, 76, 120);
/* oklch */ color: oklch(65.0% 0.197 8.0);
Tailwind
colors: {
  custom: {
    50: '#f8889e',
    500: '#ec4c78',
    950: '#000000',
  },
}
SCSS
$custom: #ec4c78;
$custom-light: #f8889e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4c78",
  "rgb": {
    "r": 236,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 343.5,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64989,
    "c": 0.19723,
    "h": 8
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#EC4C78
secondary
#ACE8D7
accent
#DDA308
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4C78

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

Preview Lab → · Contrast checker → · Palette generator →

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