#EC54C8#EC54C8

#EC54C8 is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.6% C 0.223 H 338.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#EC54C8
RGBrgb(236, 84, 200)
HSLhsl(314, 80%, 63%)
HSVhsv(314, 64%, 93%)
CMYKcmyk(0%, 64.4%, 15.3%, 7.5%)
CIE-LABlab(60.20, 70.24, -30.34)
CIE-LCHlch(60.20, 76.51, 336.64°)
OKLaboklab(68.62% 0.2074 -0.082)
OKLCHoklch(68.62% 0.223 338.4)
XYZxyz(48.1886, 28.3479, 57.5661)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C8 #54EC78
analogous
#C454EC #EC54C8 #EC547C
triadic
#EC54C8 #C8EC54 #54C8EC
tetradic
#EC54C8 #ECC454 #54EC78 #547CEC
square
#EC54C8 #ECC454 #54EC78 #547CEC
split-complementary
#EC54C8 #7CEC54 #54ECC4
monochromatic
#B2148C #E61DB6 #EC54C8 #F28BDA #F8C2EB

Accessibility & contrast

On white

3.15
#EC54C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#EC54C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C8#FFFFFF#000000##000000
##EC54C81.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#8A9AC4
Tritanopia (blue-blind)
#F95A87
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec54c8;
/* rgb */ color: rgb(236, 84, 200);
/* oklch */ color: oklch(68.6% 0.223 338.4);
Tailwind
colors: {
  custom: {
    50: '#f68ed9',
    500: '#ec54c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c8;
$custom-light: #f68ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c8",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 314.211,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.22305,
    "h": 338.4
  },
  "luminance": 0.28344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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