#EC54C5#EC54C5

#EC54C5 is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.5% C 0.221 H 339.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#EC54C5
RGBrgb(236, 84, 197)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 64%, 93%)
CMYKcmyk(0%, 64.4%, 16.5%, 7.5%)
CIE-LABlab(60.08, 69.81, -28.82)
CIE-LCHlch(60.08, 75.53, 337.57°)
OKLaboklab(68.49% 0.2069 -0.0777)
OKLCHoklch(68.49% 0.221 339.4)
XYZxyz(47.8415, 28.2090, 55.7377)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C5 #54EC7B
analogous
#C754EC #EC54C5 #EC5479
triadic
#EC54C5 #C5EC54 #54C5EC
tetradic
#EC54C5 #ECC754 #54EC7B #5479EC
square
#EC54C5 #ECC754 #54EC7B #5479EC
split-complementary
#EC54C5 #79EC54 #54ECC7
monochromatic
#B21489 #E61DB2 #EC54C5 #F28BD8 #F8C2EA

Accessibility & contrast

On white

3.16
#EC54C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#EC54C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C5#FFFFFF#000000##000000
##EC54C51.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C8
Deuteranopia (green-blind)
#8B9AC1
Tritanopia (blue-blind)
#F95985
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec54c5;
/* rgb */ color: rgb(236, 84, 197);
/* oklch */ color: oklch(68.5% 0.221 339.4);
Tailwind
colors: {
  custom: {
    50: '#f68ed7',
    500: '#ec54c5',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c5;
$custom-light: #f68ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c5",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 315.395,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68486,
    "c": 0.22105,
    "h": 339.4
  },
  "luminance": 0.28205
}

Semantic roles & 50–950 ramp

primary
#EC54C5
secondary
#B2E9C1
accent
#DC3F09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC54C5

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

Preview Lab → · Contrast checker → · Palette generator →

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