#EC54C9#EC54C9

#EC54C9 is a light, highly saturated pink. Relative luminance 0.284; OKLCH L 68.7% C 0.224 H 338.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#EC54C9
RGBrgb(236, 84, 201)
HSLhsl(314, 80%, 63%)
HSVhsv(314, 64%, 93%)
CMYKcmyk(0%, 64.4%, 14.8%, 7.5%)
CIE-LABlab(60.24, 70.38, -30.84)
CIE-LCHlch(60.24, 76.84, 336.34°)
OKLaboklab(68.66% 0.2076 -0.0835)
OKLCHoklch(68.66% 0.224 338.1)
XYZxyz(48.3059, 28.3948, 58.1836)
Luminance0.2839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C9 #54EC77
analogous
#C354EC #EC54C9 #EC547D
triadic
#EC54C9 #C9EC54 #54C9EC
tetradic
#EC54C9 #ECC354 #54EC77 #547DEC
square
#EC54C9 #ECC354 #54EC77 #547DEC
split-complementary
#EC54C9 #7DEC54 #54ECC3
monochromatic
#B2148D #E61DB8 #EC54C9 #F28BDA #F8C2EC

Accessibility & contrast

On white

3.14
#EC54C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#EC54C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C9#FFFFFF#000000##000000
##EC54C91.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CC
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#F85A87
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec54c9;
/* rgb */ color: rgb(236, 84, 201);
/* oklch */ color: oklch(68.7% 0.224 338.1);
Tailwind
colors: {
  custom: {
    50: '#f68ed9',
    500: '#ec54c9',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c9;
$custom-light: #f68ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c9",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 313.816,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.22373,
    "h": 338.1
  },
  "luminance": 0.28391
}

Semantic roles & 50–950 ramp

primary
#EC54C9
secondary
#B2E9BF
accent
#DC3A09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC54C9

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

Preview Lab → · Contrast checker → · Palette generator →

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