#EC54C0#EC54C0

#EC54C0 is a light, highly saturated pink. Relative luminance 0.280; OKLCH L 68.3% C 0.218 H 341.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#EC54C0
RGBrgb(236, 84, 192)
HSLhsl(317, 80%, 63%)
HSVhsv(317, 64%, 93%)
CMYKcmyk(0%, 64.4%, 18.6%, 7.5%)
CIE-LABlab(59.87, 69.12, -26.28)
CIE-LCHlch(59.87, 73.95, 339.18°)
OKLaboklab(68.27% 0.2061 -0.0706)
OKLCHoklch(68.27% 0.218 341.1)
XYZxyz(47.2780, 27.9837, 52.7704)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C0 #54EC80
analogous
#CC54EC #EC54C0 #EC5474
triadic
#EC54C0 #C0EC54 #54C0EC
tetradic
#EC54C0 #ECCC54 #54EC80 #5474EC
square
#EC54C0 #ECCC54 #54EC80 #5474EC
split-complementary
#EC54C0 #74EC54 #54ECCC
monochromatic
#B21484 #E61DAC #EC54C0 #F28BD4 #F8C2E9

Accessibility & contrast

On white

3.18
#EC54C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#EC54C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C0#FFFFFF#000000##000000
##EC54C01.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C3
Deuteranopia (green-blind)
#8C99BC
Tritanopia (blue-blind)
#FA5783
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec54c0;
/* rgb */ color: rgb(236, 84, 192);
/* oklch */ color: oklch(68.3% 0.218 341.1);
Tailwind
colors: {
  custom: {
    50: '#f68ed3',
    500: '#ec54c0',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c0;
$custom-light: #f68ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c0",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 317.368,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.21781,
    "h": 341.1
  },
  "luminance": 0.27979
}

Semantic roles & 50–950 ramp

primary
#EC54C0
secondary
#B2E9C2
accent
#DC4609
background
#FFF9FC
surface
#FFF1F9
border
#D7CBD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EC54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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