#EC56B3#EC56B3

#EC56B3 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.0% C 0.207 H 345.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#EC56B3
RGBrgb(236, 86, 179)
HSLhsl(323, 80%, 63%)
HSVhsv(323, 64%, 93%)
CMYKcmyk(0%, 63.6%, 24.2%, 7.5%)
CIE-LABlab(59.66, 66.61, -19.15)
CIE-LCHlch(59.66, 69.31, 343.96°)
OKLaboklab(67.95% 0.201 -0.0507)
OKLCHoklch(67.95% 0.207 345.8)
XYZxyz(46.0582, 27.7477, 45.5693)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56B3 #56EC8F
analogous
#DA56EC #EC56B3 #EC5668
triadic
#EC56B3 #B3EC56 #56B3EC
tetradic
#EC56B3 #ECDA56 #56EC8F #5668EC
square
#EC56B3 #ECDA56 #56EC8F #5668EC
split-complementary
#EC56B3 #68EC56 #56ECDA
monochromatic
#B31477 #E61F9A #EC56B3 #F28DCC #F8C4E4

Accessibility & contrast

On white

3.21
#EC56B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#EC56B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56B3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56B3#FFFFFF#000000##000000
##EC56B31.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB6
Deuteranopia (green-blind)
#9299AF
Tritanopia (blue-blind)
#FB537D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec56b3;
/* rgb */ color: rgb(236, 86, 179);
/* oklch */ color: oklch(68.0% 0.207 345.8);
Tailwind
colors: {
  custom: {
    50: '#f68ec9',
    500: '#ec56b3',
    950: '#000000',
  },
}
SCSS
$custom: #ec56b3;
$custom-light: #f68ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56b3",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 322.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67951,
    "c": 0.20727,
    "h": 345.8
  },
  "luminance": 0.27743
}

Semantic roles & 50–950 ramp

primary
#EC56B3
secondary
#B4EAC8
accent
#DC5909
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC56B3

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

Preview Lab → · Contrast checker → · Palette generator →

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