#EC56B6#EC56B6

#EC56B6 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.1% C 0.209 H 344.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#EC56B6
RGBrgb(236, 86, 182)
HSLhsl(322, 80%, 63%)
HSVhsv(322, 64%, 93%)
CMYKcmyk(0%, 63.6%, 22.9%, 7.5%)
CIE-LABlab(59.77, 67.00, -20.71)
CIE-LCHlch(59.77, 70.13, 342.82°)
OKLaboklab(68.07% 0.2016 -0.055)
OKLCHoklch(68.07% 0.209 344.7)
XYZxyz(46.3649, 27.8703, 47.1846)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56B6 #56EC8C
analogous
#D756EC #EC56B6 #EC566B
triadic
#EC56B6 #B6EC56 #56B6EC
tetradic
#EC56B6 #ECD756 #56EC8C #566BEC
square
#EC56B6 #ECD756 #56EC8C #566BEC
split-complementary
#EC56B6 #6BEC56 #56ECD7
monochromatic
#B3147A #E61F9E #EC56B6 #F28DCE #F8C4E6

Accessibility & contrast

On white

3.19
#EC56B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#EC56B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56B6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56B6#FFFFFF#000000##000000
##EC56B61.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#9199B2
Tritanopia (blue-blind)
#FB557F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec56b6;
/* rgb */ color: rgb(236, 86, 182);
/* oklch */ color: oklch(68.1% 0.209 344.7);
Tailwind
colors: {
  custom: {
    50: '#f68fcc',
    500: '#ec56b6',
    950: '#000000',
  },
}
SCSS
$custom: #ec56b6;
$custom-light: #f68fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56b6",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 182
  },
  "hsl": {
    "h": 321.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68069,
    "c": 0.20901,
    "h": 344.7
  },
  "luminance": 0.27866
}

Semantic roles & 50–950 ramp

primary
#EC56B6
secondary
#B4EAC7
accent
#DC5509
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC56B6

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

Preview Lab → · Contrast checker → · Palette generator →

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