#EC56C6#EC56C6

#EC56C6 is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.7% C 0.219 H 339.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#EC56C6
RGBrgb(236, 86, 198)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 64%, 93%)
CMYKcmyk(0%, 63.6%, 16.1%, 7.5%)
CIE-LABlab(60.40, 69.18, -28.89)
CIE-LCHlch(60.40, 74.97, 337.33°)
OKLaboklab(68.74% 0.2048 -0.078)
OKLCHoklch(68.74% 0.219 339.2)
XYZxyz(48.1139, 28.5699, 56.3957)
Luminance0.2857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56C6 #56EC7C
analogous
#C756EC #EC56C6 #EC567B
triadic
#EC56C6 #C6EC56 #56C6EC
tetradic
#EC56C6 #ECC756 #56EC7C #567BEC
square
#EC56C6 #ECC756 #56EC7C #567BEC
split-complementary
#EC56C6 #7BEC56 #56ECC7
monochromatic
#B3148B #E61FB3 #EC56C6 #F28DD9 #F8C4EB

Accessibility & contrast

On white

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

On black

6.71
#EC56C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56C6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56C6#FFFFFF#000000##000000
##EC56C61.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83C9
Deuteranopia (green-blind)
#8B9AC2
Tritanopia (blue-blind)
#F95B86
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec56c6;
/* rgb */ color: rgb(236, 86, 198);
/* oklch */ color: oklch(68.7% 0.219 339.2);
Tailwind
colors: {
  custom: {
    50: '#f68fd7',
    500: '#ec56c6',
    950: '#000000',
  },
}
SCSS
$custom: #ec56c6;
$custom-light: #f68fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56c6",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 198
  },
  "hsl": {
    "h": 315.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.2191,
    "h": 339.2
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC56C6

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

Preview Lab → · Contrast checker → · Palette generator →

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