#EC56CA#EC56CA

#EC56CA is a light, highly saturated pink. Relative luminance 0.288; OKLCH L 68.9% C 0.222 H 337.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#EC56CA
RGBrgb(236, 86, 202)
HSLhsl(314, 80%, 63%)
HSVhsv(314, 64%, 93%)
CMYKcmyk(0%, 63.6%, 14.4%, 7.5%)
CIE-LABlab(60.57, 69.75, -30.91)
CIE-LCHlch(60.57, 76.29, 336.10°)
OKLaboklab(68.91% 0.2054 -0.0837)
OKLCHoklch(68.91% 0.222 337.8)
XYZxyz(48.5813, 28.7569, 58.8577)
Luminance0.2875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56CA #56EC78
analogous
#C356EC #EC56CA #EC567F
triadic
#EC56CA #CAEC56 #56CAEC
tetradic
#EC56CA #ECC356 #56EC78 #567FEC
square
#EC56CA #ECC356 #56EC78 #567FEC
split-complementary
#EC56CA #7FEC56 #56ECC3
monochromatic
#B3148F #E61FB9 #EC56CA #F28DDB #F8C4ED

Accessibility & contrast

On white

3.11
#EC56CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#EC56CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56CA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56CA#FFFFFF#000000##000000
##EC56CA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#8A9BC6
Tritanopia (blue-blind)
#F85C88
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec56ca;
/* rgb */ color: rgb(236, 86, 202);
/* oklch */ color: oklch(68.9% 0.222 337.8);
Tailwind
colors: {
  custom: {
    50: '#f68fda',
    500: '#ec56ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec56ca;
$custom-light: #f68fda;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56ca",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 313.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68912,
    "c": 0.2218,
    "h": 337.8
  },
  "luminance": 0.28753
}

Semantic roles & 50–950 ramp

primary
#EC56CA
secondary
#B4EAC0
accent
#DC3909
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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