#EC56CD#EC56CD

#EC56CD is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.0% C 0.224 H 336.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#EC56CD
RGBrgb(236, 86, 205)
HSLhsl(312, 80%, 63%)
HSVhsv(312, 64%, 93%)
CMYKcmyk(0%, 63.6%, 13.1%, 7.5%)
CIE-LABlab(60.69, 70.18, -32.42)
CIE-LCHlch(60.69, 77.30, 335.21°)
OKLaboklab(69.05% 0.2059 -0.0879)
OKLCHoklch(69.05% 0.224 336.9)
XYZxyz(48.9400, 28.9004, 60.7466)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56CD #56EC75
analogous
#C056EC #EC56CD #EC5682
triadic
#EC56CD #CDEC56 #56CDEC
tetradic
#EC56CD #ECC056 #56EC75 #5682EC
square
#EC56CD #ECC056 #56EC75 #5682EC
split-complementary
#EC56CD #82EC56 #56ECC0
monochromatic
#B31493 #E61FBD #EC56CD #F28DDD #F8C4EE

Accessibility & contrast

On white

3.10
#EC56CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#EC56CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56CD#FFFFFF#000000##000000
##EC56CD1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#F85E8A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec56cd;
/* rgb */ color: rgb(236, 86, 205);
/* oklch */ color: oklch(69.0% 0.224 336.9);
Tailwind
colors: {
  custom: {
    50: '#f68fdc',
    500: '#ec56cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec56cd;
$custom-light: #f68fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56cd",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 312.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69046,
    "c": 0.22387,
    "h": 336.9
  },
  "luminance": 0.28896
}

Semantic roles & 50–950 ramp

primary
#EC56CD
secondary
#B4EABF
accent
#DC3509
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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