#EC56BD#EC56BD

#EC56BD is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.4% C 0.213 H 342.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#EC56BD
RGBrgb(236, 86, 189)
HSLhsl(319, 80%, 63%)
HSVhsv(319, 64%, 93%)
CMYKcmyk(0%, 63.6%, 19.9%, 7.5%)
CIE-LABlab(60.04, 67.93, -24.31)
CIE-LCHlch(60.04, 72.15, 340.31°)
OKLaboklab(68.35% 0.2031 -0.0651)
OKLCHoklch(68.35% 0.213 342.2)
XYZxyz(47.1065, 28.1670, 51.0901)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56BD #56EC85
analogous
#D056EC #EC56BD #EC5672
triadic
#EC56BD #BDEC56 #56BDEC
tetradic
#EC56BD #ECD056 #56EC85 #5672EC
square
#EC56BD #ECD056 #56EC85 #5672EC
split-complementary
#EC56BD #72EC56 #56ECD0
monochromatic
#B31482 #E61FA8 #EC56BD #F28DD2 #F8C4E8

Accessibility & contrast

On white

3.17
#EC56BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#EC56BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56BD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56BD#FFFFFF#000000##000000
##EC56BD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C0
Deuteranopia (green-blind)
#8E9AB9
Tritanopia (blue-blind)
#FA5782
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec56bd;
/* rgb */ color: rgb(236, 86, 189);
/* oklch */ color: oklch(68.4% 0.213 342.2);
Tailwind
colors: {
  custom: {
    50: '#f68fd1',
    500: '#ec56bd',
    950: '#000000',
  },
}
SCSS
$custom: #ec56bd;
$custom-light: #f68fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56bd",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 318.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68354,
    "c": 0.21328,
    "h": 342.2
  },
  "luminance": 0.28163
}

Semantic roles & 50–950 ramp

primary
#EC56BD
secondary
#B4EAC5
accent
#DC4B09
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EC56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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