#EC54C6#EC54C6

#EC54C6 is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.5% C 0.222 H 339.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#EC54C6
RGBrgb(236, 84, 198)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 64%, 93%)
CMYKcmyk(0%, 64.4%, 16.1%, 7.5%)
CIE-LABlab(60.12, 69.95, -29.33)
CIE-LCHlch(60.12, 75.85, 337.25°)
OKLaboklab(68.53% 0.2071 -0.0792)
OKLCHoklch(68.53% 0.222 339.1)
XYZxyz(47.9564, 28.2550, 56.3432)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C6 #54EC7A
analogous
#C654EC #EC54C6 #EC547A
triadic
#EC54C6 #C6EC54 #54C6EC
tetradic
#EC54C6 #ECC654 #54EC7A #547AEC
square
#EC54C6 #ECC654 #54EC7A #547AEC
split-complementary
#EC54C6 #7AEC54 #54ECC6
monochromatic
#B2148A #E61DB4 #EC54C6 #F28BD8 #F8C2EB

Accessibility & contrast

On white

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

On black

6.65
#EC54C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C6#FFFFFF#000000##000000
##EC54C61.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82C9
Deuteranopia (green-blind)
#8A9AC2
Tritanopia (blue-blind)
#F95986
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec54c6;
/* rgb */ color: rgb(236, 84, 198);
/* oklch */ color: oklch(68.5% 0.222 339.1);
Tailwind
colors: {
  custom: {
    50: '#f68ed7',
    500: '#ec54c6',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c6;
$custom-light: #f68ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c6",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 315,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.22172,
    "h": 339.1
  },
  "luminance": 0.28251
}

Semantic roles & 50–950 ramp

primary
#EC54C6
secondary
#B2E9C0
accent
#DC3E09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC54C6

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

Preview Lab → · Contrast checker → · Palette generator →

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