#EC5A96#EC5A96

#EC5A96 is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.4% C 0.188 H 357.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#EC5A96
RGBrgb(236, 90, 150)
HSLhsl(335, 79%, 64%)
HSVhsv(335, 62%, 93%)
CMYKcmyk(0%, 61.9%, 36.4%, 7.5%)
CIE-LABlab(59.30, 61.51, -2.90)
CIE-LCHlch(59.30, 61.58, 357.30°)
OKLaboklab(67.37% 0.1879 -0.0068)
OKLCHoklch(67.37% 0.188 357.9)
XYZxyz(43.7558, 27.3521, 31.8234)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A96 #5AECB0
analogous
#EC5ADF #EC5A96 #EC675A
triadic
#EC5A96 #96EC5A #5A96EC
tetradic
#EC5A96 #DFEC5A #5AECB0 #675AEC
square
#EC5A96 #DFEC5A #5AECB0 #675AEC
split-complementary
#EC5A96 #5AEC67 #5ADFEC
monochromatic
#B71557 #E62373 #EC5A96 #F291B9 #F9C8DC

Accessibility & contrast

On white

3.25
#EC5A96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#EC5A96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A96
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A96#FFFFFF#000000##000000
##EC5A961.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D98
Deuteranopia (green-blind)
#9B9993
Tritanopia (blue-blind)
#FE4D72
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5a96;
/* rgb */ color: rgb(236, 90, 150);
/* oklch */ color: oklch(67.4% 0.188 357.9);
Tailwind
colors: {
  custom: {
    50: '#f790b4',
    500: '#ec5a96',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a96;
$custom-light: #f790b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a96",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 150
  },
  "hsl": {
    "h": 335.342,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67369,
    "c": 0.18801,
    "h": 357.9
  },
  "luminance": 0.27347
}

Semantic roles & 50–950 ramp

primary
#EC5A96
secondary
#B7EBD5
accent
#DC850A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5A96

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

Preview Lab → · Contrast checker → · Palette generator →

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