#EC56B7#EC56B7

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

Color values

HEX#EC56B7
RGBrgb(236, 86, 183)
HSLhsl(321, 80%, 63%)
HSVhsv(321, 64%, 93%)
CMYKcmyk(0%, 63.6%, 22.5%, 7.5%)
CIE-LABlab(59.81, 67.13, -21.22)
CIE-LCHlch(59.81, 70.40, 342.45°)
OKLaboklab(68.11% 0.2019 -0.0565)
OKLCHoklch(68.11% 0.21 344.4)
XYZxyz(46.4687, 27.9118, 47.7308)
Luminance0.2791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56B7 #56EC8B
analogous
#D656EC #EC56B7 #EC566C
triadic
#EC56B7 #B7EC56 #56B7EC
tetradic
#EC56B7 #ECD656 #56EC8B #566CEC
square
#EC56B7 #ECD656 #56EC8B #566CEC
split-complementary
#EC56B7 #6CEC56 #56ECD6
monochromatic
#B3147B #E61FA0 #EC56B7 #F28DCE #F8C4E6

Accessibility & contrast

On white

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

On black

6.58
#EC56B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56B7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56B7#FFFFFF#000000##000000
##EC56B71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480BA
Deuteranopia (green-blind)
#9099B3
Tritanopia (blue-blind)
#FB557F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec56b7;
/* rgb */ color: rgb(236, 86, 183);
/* oklch */ color: oklch(68.1% 0.210 344.4);
Tailwind
colors: {
  custom: {
    50: '#f68fcc',
    500: '#ec56b7',
    950: '#000000',
  },
}
SCSS
$custom: #ec56b7;
$custom-light: #f68fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56b7",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 183
  },
  "hsl": {
    "h": 321.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.20961,
    "h": 344.4
  },
  "luminance": 0.27907
}

Semantic roles & 50–950 ramp

primary
#EC56B7
secondary
#B4EAC7
accent
#DC5409
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC56B7

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

Preview Lab → · Contrast checker → · Palette generator →

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