#EC54CE#EC54CE

#EC54CE is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.9% C 0.227 H 336.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#EC54CE
RGBrgb(236, 84, 206)
HSLhsl(312, 80%, 63%)
HSVhsv(312, 64%, 93%)
CMYKcmyk(0%, 64.4%, 12.7%, 7.5%)
CIE-LABlab(60.46, 71.10, -33.35)
CIE-LCHlch(60.46, 78.53, 334.87°)
OKLaboklab(68.89% 0.2083 -0.0906)
OKLCHoklch(68.89% 0.227 336.5)
XYZxyz(48.9036, 28.6339, 61.3318)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54CE #54EC72
analogous
#BE54EC #EC54CE #EC5482
triadic
#EC54CE #CEEC54 #54CEEC
tetradic
#EC54CE #ECBE54 #54EC72 #5482EC
square
#EC54CE #ECBE54 #54EC72 #5482EC
split-complementary
#EC54CE #82EC54 #54ECBE
monochromatic
#B21493 #E61DBE #EC54CE #F28BDE #F8C2EE

Accessibility & contrast

On white

3.12
#EC54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#EC54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54CE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54CE#FFFFFF#000000##000000
##EC54CE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D2
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#F85C8A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec54ce;
/* rgb */ color: rgb(236, 84, 206);
/* oklch */ color: oklch(68.9% 0.227 336.5);
Tailwind
colors: {
  custom: {
    50: '#f68edd',
    500: '#ec54ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec54ce;
$custom-light: #f68edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54ce",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 311.842,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.22716,
    "h": 336.5
  },
  "luminance": 0.2863
}

Semantic roles & 50–950 ramp

primary
#EC54CE
secondary
#B2E9BD
accent
#DC3309
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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