#EC56CF#EC56CF

#EC56CF is a light, highly saturated pink. Relative luminance 0.290; OKLCH L 69.1% C 0.225 H 336.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#EC56CF
RGBrgb(236, 86, 207)
HSLhsl(312, 80%, 63%)
HSVhsv(312, 64%, 93%)
CMYKcmyk(0%, 63.6%, 12.3%, 7.5%)
CIE-LABlab(60.78, 70.47, -33.42)
CIE-LCHlch(60.78, 77.99, 334.63°)
OKLaboklab(69.14% 0.2062 -0.0908)
OKLCHoklch(69.14% 0.225 336.2)
XYZxyz(49.1830, 28.9975, 62.0261)
Luminance0.2899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56CF #56EC73
analogous
#BE56EC #EC56CF #EC5684
triadic
#EC56CF #CFEC56 #56CFEC
tetradic
#EC56CF #ECBE56 #56EC73 #5684EC
square
#EC56CF #ECBE56 #56EC73 #5684EC
split-complementary
#EC56CF #84EC56 #56ECBE
monochromatic
#B31495 #E61FBF #EC56CF #F28DDF #F8C4EE

Accessibility & contrast

On white

3.09
#EC56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#EC56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56CF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56CF#FFFFFF#000000##000000
##EC56CF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5884D3
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#F85E8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec56cf;
/* rgb */ color: rgb(236, 86, 207);
/* oklch */ color: oklch(69.1% 0.225 336.2);
Tailwind
colors: {
  custom: {
    50: '#f68fde',
    500: '#ec56cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec56cf;
$custom-light: #f68fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56cf",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 311.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.22526,
    "h": 336.2
  },
  "luminance": 0.28993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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