#EC56C5#EC56C5

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

Color values

HEX#EC56C5
RGBrgb(236, 86, 197)
HSLhsl(316, 80%, 63%)
HSVhsv(316, 64%, 93%)
CMYKcmyk(0%, 63.6%, 16.5%, 7.5%)
CIE-LABlab(60.36, 69.03, -28.39)
CIE-LCHlch(60.36, 74.64, 337.65°)
OKLaboklab(68.69% 0.2046 -0.0765)
OKLCHoklch(68.69% 0.218 339.5)
XYZxyz(47.9989, 28.5239, 55.7902)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56C5 #56EC7D
analogous
#C856EC #EC56C5 #EC567A
triadic
#EC56C5 #C5EC56 #56C5EC
tetradic
#EC56C5 #ECC856 #56EC7D #567AEC
square
#EC56C5 #ECC856 #56EC7D #567AEC
split-complementary
#EC56C5 #7AEC56 #56ECC8
monochromatic
#B3148A #E61FB2 #EC56C5 #F28DD8 #F8C4EB

Accessibility & contrast

On white

3.13
#EC56C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#EC56C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56C5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56C5#FFFFFF#000000##000000
##EC56C51.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#8C9AC1
Tritanopia (blue-blind)
#F95A86
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec56c5;
/* rgb */ color: rgb(236, 86, 197);
/* oklch */ color: oklch(68.7% 0.218 339.5);
Tailwind
colors: {
  custom: {
    50: '#f68fd7',
    500: '#ec56c5',
    950: '#000000',
  },
}
SCSS
$custom: #ec56c5;
$custom-light: #f68fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56c5",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 197
  },
  "hsl": {
    "h": 315.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.21844,
    "h": 339.5
  },
  "luminance": 0.2852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC56C5

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

Preview Lab → · Contrast checker → · Palette generator →

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