#EC5EA1#EC5EA1

#EC5EA1 is a light, vivid pink. Relative luminance 0.284; OKLCH L 68.2% C 0.187 H 353.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#EC5EA1
RGBrgb(236, 94, 161)
HSLhsl(332, 79%, 65%)
HSVhsv(332, 60%, 93%)
CMYKcmyk(0%, 60.2%, 31.8%, 7.5%)
CIE-LABlab(60.26, 61.07, -7.86)
CIE-LCHlch(60.26, 61.57, 352.67°)
OKLaboklab(68.19% 0.186 -0.02)
OKLCHoklch(68.19% 0.187 353.9)
XYZxyz(45.0300, 28.4162, 36.8247)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EA1 #5EECA9
analogous
#EC5EE8 #EC5EA1 #EC625E
triadic
#EC5EA1 #A1EC5E #5EA1EC
tetradic
#EC5EA1 #E8EC5E #5EECA9 #625EEC
square
#EC5EA1 #E8EC5E #5EECA9 #625EEC
split-complementary
#EC5EA1 #5EEC62 #5EE8EC
monochromatic
#BA1663 #E62781 #EC5EA1 #F295C1 #F9CBE1

Accessibility & contrast

On white

3.14
#EC5EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#EC5EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EA1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EA1#FFFFFF#000000##000000
##EC5EA11.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A3
Deuteranopia (green-blind)
#9A9B9E
Tritanopia (blue-blind)
#FD5579
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ea1;
/* rgb */ color: rgb(236, 94, 161);
/* oklch */ color: oklch(68.2% 0.187 353.9);
Tailwind
colors: {
  custom: {
    50: '#f692bc',
    500: '#ec5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ea1;
$custom-light: #f692bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ea1",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 331.69,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.18705,
    "h": 353.9
  },
  "luminance": 0.28411
}

Semantic roles & 50–950 ramp

primary
#EC5EA1
secondary
#BBEBD4
accent
#DB790A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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