#EC4F78#EC4F78

#EC4F78 is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.3% C 0.194 H 8.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#EC4F78
RGBrgb(236, 79, 120)
HSLhsl(344, 81%, 62%)
HSVhsv(344, 67%, 93%)
CMYKcmyk(0%, 66.5%, 49.2%, 7.5%)
CIE-LABlab(56.87, 63.04, 11.19)
CIE-LCHlch(56.87, 64.02, 10.06°)
OKLaboklab(65.3% 0.1917 0.0289)
OKLCHoklch(65.3% 0.194 8.6)
XYZxyz(40.7816, 24.7862, 20.4023)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4F78 #4FECC3
analogous
#EC4FC7 #EC4F78 #EC754F
triadic
#EC4F78 #78EC4F #4F78EC
tetradic
#EC4F78 #C7EC4F #4FECC3 #754FEC
square
#EC4F78 #C7EC4F #4FECC3 #754FEC
split-complementary
#EC4F78 #4FEC75 #4FC7EC
monochromatic
#AE133B #E5194E #EC4F78 #F286A2 #F8BDCD

Accessibility & contrast

On white

3.53
#EC4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#EC4F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4F78
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4F78#FFFFFF#000000##000000
##EC4F781.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#737479
Deuteranopia (green-blind)
#9C9474
Tritanopia (blue-blind)
#FF345F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4f78;
/* rgb */ color: rgb(236, 79, 120);
/* oklch */ color: oklch(65.3% 0.194 8.6);
Tailwind
colors: {
  custom: {
    50: '#f8899e',
    500: '#ec4f78',
    950: '#000000',
  },
}
SCSS
$custom: #ec4f78;
$custom-light: #f8899e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4f78",
  "rgb": {
    "r": 236,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 344.331,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65299,
    "c": 0.19383,
    "h": 8.6
  },
  "luminance": 0.24781
}

Semantic roles & 50–950 ramp

primary
#EC4F78
secondary
#AEE8D9
accent
#DDA509
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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