#EC56C4#EC56C4

#EC56C4 is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.6% C 0.218 H 339.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#EC56C4
RGBrgb(236, 86, 196)
HSLhsl(316, 80%, 63%)
HSVhsv(316, 64%, 93%)
CMYKcmyk(0%, 63.6%, 16.9%, 7.5%)
CIE-LABlab(60.32, 68.89, -27.88)
CIE-LCHlch(60.32, 74.32, 337.97°)
OKLaboklab(68.65% 0.2044 -0.0751)
OKLCHoklch(68.65% 0.218 339.8)
XYZxyz(47.8847, 28.4783, 55.1888)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56C4 #56EC7E
analogous
#C956EC #EC56C4 #EC5679
triadic
#EC56C4 #C4EC56 #56C4EC
tetradic
#EC56C4 #ECC956 #56EC7E #5679EC
square
#EC56C4 #ECC956 #56EC7E #5679EC
split-complementary
#EC56C4 #79EC56 #56ECC9
monochromatic
#B31489 #E61FB1 #EC56C4 #F28DD7 #F8C4EA

Accessibility & contrast

On white

3.14
#EC56C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#EC56C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56C4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56C4#FFFFFF#000000##000000
##EC56C41.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C7
Deuteranopia (green-blind)
#8C9AC0
Tritanopia (blue-blind)
#F95A85
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec56c4;
/* rgb */ color: rgb(236, 86, 196);
/* oklch */ color: oklch(68.6% 0.218 339.8);
Tailwind
colors: {
  custom: {
    50: '#f68fd6',
    500: '#ec56c4',
    950: '#000000',
  },
}
SCSS
$custom: #ec56c4;
$custom-light: #f68fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56c4",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 316,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.21778,
    "h": 339.8
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#EC56C4
secondary
#B4EAC2
accent
#DC4209
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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