#EC4EB4#EC4EB4

#EC4EB4 is a light, highly saturated pink. Relative luminance 0.266; OKLCH L 67.2% C 0.218 H 344.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#EC4EB4
RGBrgb(236, 78, 180)
HSLhsl(321, 81%, 62%)
HSVhsv(321, 67%, 93%)
CMYKcmyk(0%, 66.9%, 23.7%, 7.5%)
CIE-LABlab(58.58, 69.81, -21.37)
CIE-LCHlch(58.58, 73.01, 342.98°)
OKLaboklab(67.17% 0.2106 -0.0568)
OKLCHoklch(67.17% 0.218 344.9)
XYZxyz(45.5564, 26.5815, 45.9027)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EB4 #4EEC86
analogous
#D54EEC #EC4EB4 #EC4E65
triadic
#EC4EB4 #B4EC4E #4EB4EC
tetradic
#EC4EB4 #ECD54E #4EEC86 #4E65EC
square
#EC4EB4 #ECD54E #4EEC86 #4E65EC
split-complementary
#EC4EB4 #65EC4E #4EECD5
monochromatic
#AD1376 #E4199C #EC4EB4 #F285CB #F8BDE3

Accessibility & contrast

On white

3.33
#EC4EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#EC4EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EB4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EB4#FFFFFF#000000##000000
##EC4EB41.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#8E97B0
Tritanopia (blue-blind)
#FB4C7A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec4eb4;
/* rgb */ color: rgb(236, 78, 180);
/* oklch */ color: oklch(67.2% 0.218 344.9);
Tailwind
colors: {
  custom: {
    50: '#f68aca',
    500: '#ec4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #ec4eb4;
$custom-light: #f68aca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4eb4",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 321.266,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67174,
    "c": 0.21814,
    "h": 344.9
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#EC4EB4
secondary
#AEE8C2
accent
#DD5409
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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