#EC5AB6#EC5AB6

#EC5AB6 is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.5% C 0.204 H 345.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#EC5AB6
RGBrgb(236, 90, 182)
HSLhsl(322, 79%, 64%)
HSVhsv(322, 62%, 93%)
CMYKcmyk(0%, 61.9%, 22.9%, 7.5%)
CIE-LABlab(60.36, 65.38, -19.81)
CIE-LCHlch(60.36, 68.31, 343.15°)
OKLaboklab(68.5% 0.1967 -0.0526)
OKLCHoklch(68.5% 0.204 345)
XYZxyz(46.6933, 28.5271, 47.2941)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB6 #5AEC90
analogous
#D95AEC #EC5AB6 #EC5A6D
triadic
#EC5AB6 #B6EC5A #5AB6EC
tetradic
#EC5AB6 #ECD95A #5AEC90 #5A6DEC
square
#EC5AB6 #ECD95A #5AEC90 #5A6DEC
split-complementary
#EC5AB6 #6DEC5A #5AECD9
monochromatic
#B7157B #E6239E #EC5AB6 #F291CE #F9C8E7

Accessibility & contrast

On white

3.13
#EC5AB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#EC5AB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB6#FFFFFF#000000##000000
##EC5AB61.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882B9
Deuteranopia (green-blind)
#929BB2
Tritanopia (blue-blind)
#FB5880
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab6;
/* rgb */ color: rgb(236, 90, 182);
/* oklch */ color: oklch(68.5% 0.204 345.0);
Tailwind
colors: {
  custom: {
    50: '#f691cc',
    500: '#ec5ab6',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab6;
$custom-light: #f691cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab6",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 182
  },
  "hsl": {
    "h": 322.192,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.2036,
    "h": 345
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#EC5AB6
secondary
#B7EBCA
accent
#DC570A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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