#EC54A9#EC54A9

#EC54A9 is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 67.4% C 0.204 H 349.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#EC54A9
RGBrgb(236, 84, 169)
HSLhsl(326, 80%, 63%)
HSVhsv(326, 64%, 93%)
CMYKcmyk(0%, 64.4%, 28.4%, 7.5%)
CIE-LABlab(59.01, 66.15, -14.36)
CIE-LCHlch(59.01, 67.69, 347.75°)
OKLaboklab(67.36% 0.201 -0.0375)
OKLCHoklch(67.36% 0.204 349.4)
XYZxyz(44.9259, 27.0428, 40.3822)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54A9 #54EC97
analogous
#E354EC #EC54A9 #EC545D
triadic
#EC54A9 #A9EC54 #54A9EC
tetradic
#EC54A9 #ECE354 #54EC97 #545DEC
square
#EC54A9 #ECE354 #54EC97 #545DEC
split-complementary
#EC54A9 #5DEC54 #54ECE3
monochromatic
#B2146C #E61D8D #EC54A9 #F28BC5 #F8C2E0

Accessibility & contrast

On white

3.28
#EC54A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#EC54A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54A9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54A9#FFFFFF#000000##000000
##EC54A91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAB
Deuteranopia (green-blind)
#9498A5
Tritanopia (blue-blind)
#FC4E77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec54a9;
/* rgb */ color: rgb(236, 84, 169);
/* oklch */ color: oklch(67.4% 0.204 349.4);
Tailwind
colors: {
  custom: {
    50: '#f68dc2',
    500: '#ec54a9',
    950: '#000000',
  },
}
SCSS
$custom: #ec54a9;
$custom-light: #f68dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54a9",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 326.447,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.20446,
    "h": 349.4
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

primary
#EC54A9
secondary
#B2E9CB
accent
#DC6609
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC54A9

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

Preview Lab → · Contrast checker → · Palette generator →

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