#EC4788#EC4788

#EC4788 is a light, highly saturated pink. Relative luminance 0.241; OKLCH L 64.9% C 0.207 H 0.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#EC4788
RGBrgb(236, 71, 136)
HSLhsl(336, 81%, 60%)
HSVhsv(336, 70%, 93%)
CMYKcmyk(0%, 69.9%, 42.4%, 7.5%)
CIE-LABlab(56.21, 67.44, 0.79)
CIE-LCHlch(56.21, 67.44, 0.67°)
OKLaboklab(64.95% 0.2067 0.0028)
OKLCHoklch(64.95% 0.207 0.8)
XYZxyz(41.2923, 24.1221, 25.7694)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4788 #47ECAB
analogous
#EC47DA #EC4788 #EC5947
triadic
#EC4788 #88EC47 #4788EC
tetradic
#EC4788 #DAEC47 #47ECAB #5947EC
square
#EC4788 #DAEC47 #47ECAB #5947EC
split-complementary
#EC4788 #47EC59 #47DAEC
monochromatic
#A7114C #DF1766 #EC4788 #F27EAC #F7B6D0

Accessibility & contrast

On white

3.61
#EC4788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#EC4788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4788
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4788#FFFFFF#000000##000000
##EC47881.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A738A
Deuteranopia (green-blind)
#969284
Tritanopia (blue-blind)
#FF3062
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4788;
/* rgb */ color: rgb(236, 71, 136);
/* oklch */ color: oklch(64.9% 0.207 0.8);
Tailwind
colors: {
  custom: {
    50: '#f886aa',
    500: '#ec4788',
    950: '#000000',
  },
}
SCSS
$custom: #ec4788;
$custom-light: #f886aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4788",
  "rgb": {
    "r": 236,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 336.364,
    "s": 81.281,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64949,
    "c": 0.20668,
    "h": 0.8
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#EC4788
secondary
#A8E7CE
accent
#DE8908
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4788

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

Preview Lab → · Contrast checker → · Palette generator →

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