#EC56CB#EC56CB

#EC56CB is a light, highly saturated pink. Relative luminance 0.288; OKLCH L 69.0% C 0.222 H 337.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#EC56CB
RGBrgb(236, 86, 203)
HSLhsl(313, 80%, 63%)
HSVhsv(313, 64%, 93%)
CMYKcmyk(0%, 63.6%, 14%, 7.5%)
CIE-LABlab(60.61, 69.89, -31.41)
CIE-LCHlch(60.61, 76.62, 335.80°)
OKLaboklab(68.96% 0.2056 -0.0851)
OKLCHoklch(68.96% 0.222 337.5)
XYZxyz(48.7001, 28.8044, 59.4832)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56CB #56EC77
analogous
#C256EC #EC56CB #EC5680
triadic
#EC56CB #CBEC56 #56CBEC
tetradic
#EC56CB #ECC256 #56EC77 #5680EC
square
#EC56CB #ECC256 #56EC77 #5680EC
split-complementary
#EC56CB #80EC56 #56ECC2
monochromatic
#B31490 #E61FBA #EC56CB #F28DDC #F8C4ED

Accessibility & contrast

On white

3.11
#EC56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#EC56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56CB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56CB#FFFFFF#000000##000000
##EC56CB1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#899BC7
Tritanopia (blue-blind)
#F85D89
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec56cb;
/* rgb */ color: rgb(236, 86, 203);
/* oklch */ color: oklch(69.0% 0.222 337.5);
Tailwind
colors: {
  custom: {
    50: '#f68fdb',
    500: '#ec56cb',
    950: '#000000',
  },
}
SCSS
$custom: #ec56cb;
$custom-light: #f68fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56cb",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 313.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68956,
    "c": 0.22249,
    "h": 337.5
  },
  "luminance": 0.288
}

Semantic roles & 50–950 ramp

primary
#EC56CB
secondary
#B4EAC0
accent
#DC3809
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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