#EC56D2#EC56D2

#EC56D2 is a light, highly saturated pink. Relative luminance 0.291; OKLCH L 69.3% C 0.227 H 335.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#EC56D2
RGBrgb(236, 86, 210)
HSLhsl(310, 80%, 63%)
HSVhsv(310, 64%, 93%)
CMYKcmyk(0%, 63.6%, 11%, 7.5%)
CIE-LABlab(60.91, 70.91, -34.91)
CIE-LCHlch(60.91, 79.04, 333.79°)
OKLaboklab(69.27% 0.2066 -0.095)
OKLCHoklch(69.27% 0.227 335.3)
XYZxyz(49.5532, 29.1456, 63.9761)
Luminance0.2914 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56D2 #56EC70
analogous
#BB56EC #EC56D2 #EC5687
triadic
#EC56D2 #D2EC56 #56D2EC
tetradic
#EC56D2 #ECBB56 #56EC70 #5687EC
square
#EC56D2 #ECBB56 #56EC70 #5687EC
split-complementary
#EC56D2 #87EC56 #56ECBB
monochromatic
#B31498 #E61FC3 #EC56D2 #F28DE1 #F8C4EF

Accessibility & contrast

On white

3.08
#EC56D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#EC56D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56D2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56D2#FFFFFF#000000##000000
##EC56D21.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D6
Deuteranopia (green-blind)
#879BCE
Tritanopia (blue-blind)
#F7608C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec56d2;
/* rgb */ color: rgb(236, 86, 210);
/* oklch */ color: oklch(69.3% 0.227 335.3);
Tailwind
colors: {
  custom: {
    50: '#f68fe0',
    500: '#ec56d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec56d2;
$custom-light: #f68fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56d2",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 310.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69275,
    "c": 0.22738,
    "h": 335.3
  },
  "luminance": 0.29142
}

Semantic roles & 50–950 ramp

primary
#EC56D2
secondary
#B4EABD
accent
#DC2E09
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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