#EC56B5#EC56B5

#EC56B5 is a light, highly saturated pink. Relative luminance 0.278; OKLCH L 68.0% C 0.208 H 345.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#EC56B5
RGBrgb(236, 86, 181)
HSLhsl(322, 80%, 63%)
HSVhsv(322, 64%, 93%)
CMYKcmyk(0%, 63.6%, 23.3%, 7.5%)
CIE-LABlab(59.73, 66.87, -20.19)
CIE-LCHlch(59.73, 69.85, 343.20°)
OKLaboklab(68.03% 0.2014 -0.0536)
OKLCHoklch(68.03% 0.208 345.1)
XYZxyz(46.2620, 27.8292, 46.6423)
Luminance0.2782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56B5 #56EC8D
analogous
#D856EC #EC56B5 #EC566A
triadic
#EC56B5 #B5EC56 #56B5EC
tetradic
#EC56B5 #ECD856 #56EC8D #566AEC
square
#EC56B5 #ECD856 #56EC8D #566AEC
split-complementary
#EC56B5 #6AEC56 #56ECD8
monochromatic
#B31479 #E61F9D #EC56B5 #F28DCD #F8C4E5

Accessibility & contrast

On white

3.20
#EC56B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC56B5#FFFFFF#000000##000000
##EC56B51.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B8
Deuteranopia (green-blind)
#9199B1
Tritanopia (blue-blind)
#FB547E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec56b5;
/* rgb */ color: rgb(236, 86, 181);
/* oklch */ color: oklch(68.0% 0.208 345.1);
Tailwind
colors: {
  custom: {
    50: '#f68ecb',
    500: '#ec56b5',
    950: '#000000',
  },
}
SCSS
$custom: #ec56b5;
$custom-light: #f68ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56b5",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 181
  },
  "hsl": {
    "h": 322,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6803,
    "c": 0.20843,
    "h": 345.1
  },
  "luminance": 0.27825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC56B5

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

Preview Lab → · Contrast checker → · Palette generator →

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