#EC5AB5#EC5AB5

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

Color values

HEX#EC5AB5
RGBrgb(236, 90, 181)
HSLhsl(323, 79%, 64%)
HSVhsv(323, 62%, 93%)
CMYKcmyk(0%, 61.9%, 23.3%, 7.5%)
CIE-LABlab(60.33, 65.25, -19.29)
CIE-LCHlch(60.33, 68.04, 343.53°)
OKLaboklab(68.46% 0.1965 -0.0511)
OKLCHoklch(68.46% 0.203 345.4)
XYZxyz(46.5903, 28.4859, 46.7517)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB5 #5AEC91
analogous
#DA5AEC #EC5AB5 #EC5A6C
triadic
#EC5AB5 #B5EC5A #5AB5EC
tetradic
#EC5AB5 #ECDA5A #5AEC91 #5A6CEC
square
#EC5AB5 #ECDA5A #5AEC91 #5A6CEC
split-complementary
#EC5AB5 #6CEC5A #5AECDA
monochromatic
#B7157A #E6239C #EC5AB5 #F291CE #F9C8E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5AB5#FFFFFF#000000##000000
##EC5AB51.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B8
Deuteranopia (green-blind)
#939BB1
Tritanopia (blue-blind)
#FB5880
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab5;
/* rgb */ color: rgb(236, 90, 181);
/* oklch */ color: oklch(68.5% 0.203 345.4);
Tailwind
colors: {
  custom: {
    50: '#f691cb',
    500: '#ec5ab5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab5;
$custom-light: #f691cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab5",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 322.603,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68464,
    "c": 0.20301,
    "h": 345.4
  },
  "luminance": 0.28481
}

Semantic roles & 50–950 ramp

primary
#EC5AB5
secondary
#B7EBCB
accent
#DC590A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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