#EC5494#EC5494

#EC5494 is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.6% C 0.195 H 357.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#EC5494
RGBrgb(236, 84, 148)
HSLhsl(335, 80%, 63%)
HSVhsv(335, 64%, 93%)
CMYKcmyk(0%, 64.4%, 37.3%, 7.5%)
CIE-LABlab(58.34, 63.75, -3.15)
CIE-LCHlch(58.34, 63.83, 357.17°)
OKLaboklab(66.64% 0.195 -0.0075)
OKLCHoklch(66.64% 0.195 357.8)
XYZxyz(43.1104, 26.3166, 30.8206)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5494 #54ECAC
analogous
#EC54E0 #EC5494 #EC6054
triadic
#EC5494 #94EC54 #5494EC
tetradic
#EC5494 #E0EC54 #54ECAC #6054EC
square
#EC5494 #E0EC54 #54ECAC #6054EC
split-complementary
#EC5494 #54EC60 #54E0EC
monochromatic
#B21456 #E61D72 #EC5494 #F28BB6 #F8C2D9

Accessibility & contrast

On white

3.35
#EC5494 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#EC5494 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5494
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5494#FFFFFF#000000##000000
##EC54941.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7A96
Deuteranopia (green-blind)
#999790
Tritanopia (blue-blind)
#FE466E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5494;
/* rgb */ color: rgb(236, 84, 148);
/* oklch */ color: oklch(66.6% 0.195 357.8);
Tailwind
colors: {
  custom: {
    50: '#f78db3',
    500: '#ec5494',
    950: '#000000',
  },
}
SCSS
$custom: #ec5494;
$custom-light: #f78db3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5494",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 334.737,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66635,
    "c": 0.19512,
    "h": 357.8
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#EC5494
secondary
#B2E9D2
accent
#DC8309
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5494

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

Preview Lab → · Contrast checker → · Palette generator →

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