#EC5AB3#EC5AB3

#EC5AB3 is a light, highly saturated pink. Relative luminance 0.284; OKLCH L 68.4% C 0.202 H 346.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#EC5AB3
RGBrgb(236, 90, 179)
HSLhsl(323, 79%, 64%)
HSVhsv(323, 62%, 93%)
CMYKcmyk(0%, 61.9%, 24.2%, 7.5%)
CIE-LABlab(60.25, 64.99, -18.25)
CIE-LCHlch(60.25, 67.50, 344.31°)
OKLaboklab(68.39% 0.196 -0.0482)
OKLCHoklch(68.39% 0.202 346.2)
XYZxyz(46.3866, 28.4044, 45.6787)
Luminance0.2840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB3 #5AEC93
analogous
#DC5AEC #EC5AB3 #EC5A6A
triadic
#EC5AB3 #B3EC5A #5AB3EC
tetradic
#EC5AB3 #ECDC5A #5AEC93 #5A6AEC
square
#EC5AB3 #ECDC5A #5AEC93 #5A6AEC
split-complementary
#EC5AB3 #6AEC5A #5AECDC
monochromatic
#B71578 #E6239A #EC5AB3 #F291CC #F9C8E6

Accessibility & contrast

On white

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

On black

6.68
#EC5AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB3#FFFFFF#000000##000000
##EC5AB31.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B6
Deuteranopia (green-blind)
#939AAF
Tritanopia (blue-blind)
#FB577F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab3;
/* rgb */ color: rgb(236, 90, 179);
/* oklch */ color: oklch(68.4% 0.202 346.2);
Tailwind
colors: {
  custom: {
    50: '#f691c9',
    500: '#ec5ab3',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab3;
$custom-light: #f691c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab3",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 179
  },
  "hsl": {
    "h": 323.425,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.20185,
    "h": 346.2
  },
  "luminance": 0.284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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