#EC56C2#EC56C2

#EC56C2 is a light, highly saturated pink. Relative luminance 0.284; OKLCH L 68.6% C 0.216 H 340.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#EC56C2
RGBrgb(236, 86, 194)
HSLhsl(317, 80%, 63%)
HSVhsv(317, 64%, 93%)
CMYKcmyk(0%, 63.6%, 17.8%, 7.5%)
CIE-LABlab(60.24, 68.62, -26.86)
CIE-LCHlch(60.24, 73.69, 338.62°)
OKLaboklab(68.56% 0.2041 -0.0722)
OKLCHoklch(68.56% 0.216 340.5)
XYZxyz(47.6586, 28.3878, 53.9979)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56C2 #56EC80
analogous
#CB56EC #EC56C2 #EC5677
triadic
#EC56C2 #C2EC56 #56C2EC
tetradic
#EC56C2 #ECCB56 #56EC80 #5677EC
square
#EC56C2 #ECCB56 #56EC80 #5677EC
split-complementary
#EC56C2 #77EC56 #56ECCB
monochromatic
#B31487 #E61FAE #EC56C2 #F28DD6 #F8C4EA

Accessibility & contrast

On white

3.15
#EC56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#EC56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56C2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56C2#FFFFFF#000000##000000
##EC56C21.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#8D9ABE
Tritanopia (blue-blind)
#F95984
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec56c2;
/* rgb */ color: rgb(236, 86, 194);
/* oklch */ color: oklch(68.6% 0.216 340.5);
Tailwind
colors: {
  custom: {
    50: '#f68fd4',
    500: '#ec56c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec56c2;
$custom-light: #f68fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56c2",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 316.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.21647,
    "h": 340.5
  },
  "luminance": 0.28383
}

Semantic roles & 50–950 ramp

primary
#EC56C2
secondary
#B4EAC3
accent
#DC4409
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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