#EC5AB7#EC5AB7

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

Color values

HEX#EC5AB7
RGBrgb(236, 90, 183)
HSLhsl(322, 79%, 64%)
HSVhsv(322, 62%, 93%)
CMYKcmyk(0%, 61.9%, 22.5%, 7.5%)
CIE-LABlab(60.40, 65.51, -20.32)
CIE-LCHlch(60.40, 68.59, 342.76°)
OKLaboklab(68.54% 0.1969 -0.054)
OKLCHoklch(68.54% 0.204 344.7)
XYZxyz(46.7970, 28.5685, 47.8403)
Luminance0.2856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB7 #5AEC8F
analogous
#D85AEC #EC5AB7 #EC5A6E
triadic
#EC5AB7 #B7EC5A #5AB7EC
tetradic
#EC5AB7 #ECD85A #5AEC8F #5A6EEC
square
#EC5AB7 #ECD85A #5AEC8F #5A6EEC
split-complementary
#EC5AB7 #6EEC5A #5AECD8
monochromatic
#B7157C #E6239F #EC5AB7 #F291CF #F9C8E7

Accessibility & contrast

On white

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

On black

6.71
#EC5AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB7#FFFFFF#000000##000000
##EC5AB71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BA
Deuteranopia (green-blind)
#929BB3
Tritanopia (blue-blind)
#FB5981
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec5ab7;
/* rgb */ color: rgb(236, 90, 183);
/* oklch */ color: oklch(68.5% 0.204 344.7);
Tailwind
colors: {
  custom: {
    50: '#f691cc',
    500: '#ec5ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab7;
$custom-light: #f691cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab7",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 321.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68543,
    "c": 0.2042,
    "h": 344.7
  },
  "luminance": 0.28564
}

Semantic roles & 50–950 ramp

primary
#EC5AB7
secondary
#B7EBCA
accent
#DC560A
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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