#EC5AB8#EC5AB8

#EC5AB8 is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.6% C 0.205 H 344.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#EC5AB8
RGBrgb(236, 90, 184)
HSLhsl(321, 79%, 64%)
HSVhsv(321, 62%, 93%)
CMYKcmyk(0%, 61.9%, 22%, 7.5%)
CIE-LABlab(60.44, 65.65, -20.84)
CIE-LCHlch(60.44, 68.87, 342.39°)
OKLaboklab(68.58% 0.1972 -0.0554)
OKLCHoklch(68.58% 0.205 344.3)
XYZxyz(46.9015, 28.6103, 48.3904)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB8 #5AEC8E
analogous
#D75AEC #EC5AB8 #EC5A6F
triadic
#EC5AB8 #B8EC5A #5AB8EC
tetradic
#EC5AB8 #ECD75A #5AEC8E #5A6FEC
square
#EC5AB8 #ECD75A #5AEC8E #5A6FEC
split-complementary
#EC5AB8 #6FEC5A #5AECD7
monochromatic
#B7157D #E623A0 #EC5AB8 #F291D0 #F9C8E7

Accessibility & contrast

On white

3.12
#EC5AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#EC5AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB8#FFFFFF#000000##000000
##EC5AB81.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6882BB
Deuteranopia (green-blind)
#929BB4
Tritanopia (blue-blind)
#FA5981
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec5ab8;
/* rgb */ color: rgb(236, 90, 184);
/* oklch */ color: oklch(68.6% 0.205 344.3);
Tailwind
colors: {
  custom: {
    50: '#f691cd',
    500: '#ec5ab8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab8;
$custom-light: #f691cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab8",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 321.37,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68583,
    "c": 0.20479,
    "h": 344.3
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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