#EC5AB9#EC5AB9

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

Color values

HEX#EC5AB9
RGBrgb(236, 90, 185)
HSLhsl(321, 79%, 64%)
HSVhsv(321, 62%, 93%)
CMYKcmyk(0%, 61.9%, 21.6%, 7.5%)
CIE-LABlab(60.47, 65.78, -21.36)
CIE-LCHlch(60.47, 69.16, 342.01°)
OKLaboklab(68.62% 0.1974 -0.0569)
OKLCHoklch(68.62% 0.205 343.9)
XYZxyz(47.0066, 28.6524, 48.9444)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB9 #5AEC8D
analogous
#D65AEC #EC5AB9 #EC5A70
triadic
#EC5AB9 #B9EC5A #5AB9EC
tetradic
#EC5AB9 #ECD65A #5AEC8D #5A70EC
square
#EC5AB9 #ECD65A #5AEC8D #5A70EC
split-complementary
#EC5AB9 #70EC5A #5AECD6
monochromatic
#B7157E #E623A2 #EC5AB9 #F291D0 #F9C8E8

Accessibility & contrast

On white

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

On black

6.73
#EC5AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB9
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB9#FFFFFF#000000##000000
##EC5AB91.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6782BC
Deuteranopia (green-blind)
#929BB5
Tritanopia (blue-blind)
#FA5982
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec5ab9;
/* rgb */ color: rgb(236, 90, 185);
/* oklch */ color: oklch(68.6% 0.205 343.9);
Tailwind
colors: {
  custom: {
    50: '#f691ce',
    500: '#ec5ab9',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab9;
$custom-light: #f691ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab9",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 320.959,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68622,
    "c": 0.2054,
    "h": 343.9
  },
  "luminance": 0.28648
}

Semantic roles & 50–950 ramp

primary
#EC5AB9
secondary
#B7EBC9
accent
#DC530A
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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