#EC5AB2#EC5AB2

#EC5AB2 is a light, highly saturated pink. Relative luminance 0.284; OKLCH L 68.3% C 0.201 H 346.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#EC5AB2
RGBrgb(236, 90, 178)
HSLhsl(324, 79%, 64%)
HSVhsv(324, 62%, 93%)
CMYKcmyk(0%, 61.9%, 24.6%, 7.5%)
CIE-LABlab(60.22, 64.86, -17.73)
CIE-LCHlch(60.22, 67.24, 344.71°)
OKLaboklab(68.35% 0.1958 -0.0468)
OKLCHoklch(68.35% 0.201 346.5)
XYZxyz(46.2858, 28.3641, 45.1480)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB2 #5AEC94
analogous
#DD5AEC #EC5AB2 #EC5A69
triadic
#EC5AB2 #B2EC5A #5AB2EC
tetradic
#EC5AB2 #ECDD5A #5AEC94 #5A69EC
square
#EC5AB2 #ECDD5A #5AEC94 #5A69EC
split-complementary
#EC5AB2 #69EC5A #5AECDD
monochromatic
#B71576 #E62398 #EC5AB2 #F291CC #F9C8E5

Accessibility & contrast

On white

3.15
#EC5AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#EC5AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB2#FFFFFF#000000##000000
##EC5AB21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B5
Deuteranopia (green-blind)
#949AAE
Tritanopia (blue-blind)
#FB577E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab2;
/* rgb */ color: rgb(236, 90, 178);
/* oklch */ color: oklch(68.3% 0.201 346.5);
Tailwind
colors: {
  custom: {
    50: '#f691c9',
    500: '#ec5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab2;
$custom-light: #f691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab2",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 323.836,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68348,
    "c": 0.20128,
    "h": 346.5
  },
  "luminance": 0.2836
}

Semantic roles & 50–950 ramp

primary
#EC5AB2
secondary
#B7EBCC
accent
#DC5D0A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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