#EC56D1#EC56D1

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

Color values

HEX#EC56D1
RGBrgb(236, 86, 209)
HSLhsl(311, 80%, 63%)
HSVhsv(311, 64%, 93%)
CMYKcmyk(0%, 63.6%, 11.4%, 7.5%)
CIE-LABlab(60.87, 70.76, -34.41)
CIE-LCHlch(60.87, 78.69, 334.07°)
OKLaboklab(69.23% 0.2064 -0.0936)
OKLCHoklch(69.23% 0.227 335.6)
XYZxyz(49.4290, 29.0960, 63.3220)
Luminance0.2909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56D1 #56EC71
analogous
#BC56EC #EC56D1 #EC5686
triadic
#EC56D1 #D1EC56 #56D1EC
tetradic
#EC56D1 #ECBC56 #56EC71 #5686EC
square
#EC56D1 #ECBC56 #56EC71 #5686EC
split-complementary
#EC56D1 #86EC56 #56ECBC
monochromatic
#B31497 #E61FC2 #EC56D1 #F28DE0 #F8C4EF

Accessibility & contrast

On white

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

On black

6.82
#EC56D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56D1
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56D1#FFFFFF#000000##000000
##EC56D11.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D5
Deuteranopia (green-blind)
#879BCD
Tritanopia (blue-blind)
#F75F8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec56d1;
/* rgb */ color: rgb(236, 86, 209);
/* oklch */ color: oklch(69.2% 0.227 335.6);
Tailwind
colors: {
  custom: {
    50: '#f68fdf',
    500: '#ec56d1',
    950: '#000000',
  },
}
SCSS
$custom: #ec56d1;
$custom-light: #f68fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56d1",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 310.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.22667,
    "h": 335.6
  },
  "luminance": 0.29092
}

Semantic roles & 50–950 ramp

primary
#EC56D1
secondary
#B4EABE
accent
#DC2F09
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56D1

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

Preview Lab → · Contrast checker → · Palette generator →

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