#EC56D3#EC56D3

#EC56D3 is a light, highly saturated pink. Relative luminance 0.292; OKLCH L 69.3% C 0.228 H 335.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#EC56D3
RGBrgb(236, 86, 211)
HSLhsl(310, 80%, 63%)
HSVhsv(310, 64%, 93%)
CMYKcmyk(0%, 63.6%, 10.6%, 7.5%)
CIE-LABlab(60.95, 71.06, -35.41)
CIE-LCHlch(60.95, 79.39, 333.52°)
OKLaboklab(69.32% 0.2067 -0.0965)
OKLCHoklch(69.32% 0.228 335)
XYZxyz(49.6782, 29.1956, 64.6343)
Luminance0.2919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56D3 #56EC6F
analogous
#BA56EC #EC56D3 #EC5688
triadic
#EC56D3 #D3EC56 #56D3EC
tetradic
#EC56D3 #ECBA56 #56EC6F #5688EC
square
#EC56D3 #ECBA56 #56EC6F #5688EC
split-complementary
#EC56D3 #88EC56 #56ECBA
monochromatic
#B31499 #E61FC5 #EC56D3 #F28DE1 #F8C4F0

Accessibility & contrast

On white

3.07
#EC56D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#EC56D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC56D3
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56D3#FFFFFF#000000##000000
##EC56D31.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#869BCF
Tritanopia (blue-blind)
#F7608D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec56d3;
/* rgb */ color: rgb(236, 86, 211);
/* oklch */ color: oklch(69.3% 0.228 335.0);
Tailwind
colors: {
  custom: {
    50: '#f68fe1',
    500: '#ec56d3',
    950: '#000000',
  },
}
SCSS
$custom: #ec56d3;
$custom-light: #f68fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56d3",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 310,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.22809,
    "h": 335
  },
  "luminance": 0.29192
}

Semantic roles & 50–950 ramp

primary
#EC56D3
secondary
#B4EABD
accent
#DC2D09
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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