#EC54CD#EC54CD

#EC54CD is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.8% C 0.226 H 336.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#EC54CD
RGBrgb(236, 84, 205)
HSLhsl(312, 80%, 63%)
HSVhsv(312, 64%, 93%)
CMYKcmyk(0%, 64.4%, 13.1%, 7.5%)
CIE-LABlab(60.41, 70.95, -32.85)
CIE-LCHlch(60.41, 78.19, 335.16°)
OKLaboklab(68.84% 0.2082 -0.0892)
OKLCHoklch(68.84% 0.226 336.8)
XYZxyz(48.7825, 28.5855, 60.6941)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54CD #54EC73
analogous
#BF54EC #EC54CD #EC5481
triadic
#EC54CD #CDEC54 #54CDEC
tetradic
#EC54CD #ECBF54 #54EC73 #5481EC
square
#EC54CD #ECBF54 #54EC73 #5481EC
split-complementary
#EC54CD #81EC54 #54ECBF
monochromatic
#B21492 #E61DBD #EC54CD #F28BDD #F8C2ED

Accessibility & contrast

On white

3.13
#EC54CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#EC54CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54CD#FFFFFF#000000##000000
##EC54CD1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#F85C89
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec54cd;
/* rgb */ color: rgb(236, 84, 205);
/* oklch */ color: oklch(68.8% 0.226 336.8);
Tailwind
colors: {
  custom: {
    50: '#f68edc',
    500: '#ec54cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec54cd;
$custom-light: #f68edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54cd",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 312.237,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.22646,
    "h": 336.8
  },
  "luminance": 0.28581
}

Semantic roles & 50–950 ramp

primary
#EC54CD
secondary
#B2E9BE
accent
#DC3409
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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