#EC5497#EC5497

#EC5497 is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.7% C 0.196 H 356.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#EC5497
RGBrgb(236, 84, 151)
HSLhsl(334, 80%, 63%)
HSVhsv(334, 64%, 93%)
CMYKcmyk(0%, 64.4%, 36%, 7.5%)
CIE-LABlab(58.43, 64.07, -4.77)
CIE-LCHlch(58.43, 64.25, 355.74°)
OKLaboklab(66.73% 0.1959 -0.0117)
OKLCHoklch(66.73% 0.196 356.6)
XYZxyz(43.3509, 26.4128, 32.0874)
Luminance0.2641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5497 #54ECA9
analogous
#EC54E3 #EC5497 #EC5D54
triadic
#EC5497 #97EC54 #5497EC
tetradic
#EC5497 #E3EC54 #54ECA9 #5D54EC
square
#EC5497 #E3EC54 #54ECA9 #5D54EC
split-complementary
#EC5497 #54EC5D #54E3EC
monochromatic
#B21459 #E61D75 #EC5497 #F28BB8 #F8C2DA

Accessibility & contrast

On white

3.34
#EC5497 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#EC5497 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5497
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5497#FFFFFF#000000##000000
##EC54971.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B99
Deuteranopia (green-blind)
#989793
Tritanopia (blue-blind)
#FE476F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5497;
/* rgb */ color: rgb(236, 84, 151);
/* oklch */ color: oklch(66.7% 0.196 356.6);
Tailwind
colors: {
  custom: {
    50: '#f78db5',
    500: '#ec5497',
    950: '#000000',
  },
}
SCSS
$custom: #ec5497;
$custom-light: #f78db5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5497",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 333.553,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66732,
    "c": 0.19627,
    "h": 356.6
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#EC5497
secondary
#B2E9D1
accent
#DC7F09
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5497

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

Preview Lab → · Contrast checker → · Palette generator →

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