#EC56B4#EC56B4

#EC56B4 is a light, highly saturated pink. Relative luminance 0.278; OKLCH L 68.0% C 0.208 H 345.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#EC56B4
RGBrgb(236, 86, 180)
HSLhsl(322, 80%, 63%)
HSVhsv(322, 64%, 93%)
CMYKcmyk(0%, 63.6%, 23.7%, 7.5%)
CIE-LABlab(59.70, 66.74, -19.67)
CIE-LCHlch(59.70, 69.58, 343.58°)
OKLaboklab(67.99% 0.2012 -0.0521)
OKLCHoklch(67.99% 0.208 345.5)
XYZxyz(46.1597, 27.7883, 46.1038)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56B4 #56EC8E
analogous
#D956EC #EC56B4 #EC5669
triadic
#EC56B4 #B4EC56 #56B4EC
tetradic
#EC56B4 #ECD956 #56EC8E #5669EC
square
#EC56B4 #ECD956 #56EC8E #5669EC
split-complementary
#EC56B4 #69EC56 #56ECD9
monochromatic
#B31478 #E61F9C #EC56B4 #F28DCC #F8C4E5

Accessibility & contrast

On white

3.20
#EC56B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#EC56B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56B4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56B4#FFFFFF#000000##000000
##EC56B41.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#9199B0
Tritanopia (blue-blind)
#FB547E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec56b4;
/* rgb */ color: rgb(236, 86, 180);
/* oklch */ color: oklch(68.0% 0.208 345.5);
Tailwind
colors: {
  custom: {
    50: '#f68eca',
    500: '#ec56b4',
    950: '#000000',
  },
}
SCSS
$custom: #ec56b4;
$custom-light: #f68eca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56b4",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 322.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.20785,
    "h": 345.5
  },
  "luminance": 0.27784
}

Semantic roles & 50–950 ramp

primary
#EC56B4
secondary
#B4EAC8
accent
#DC5809
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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