#EC5AB4#EC5AB4

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

Color values

HEX#EC5AB4
RGBrgb(236, 90, 180)
HSLhsl(323, 79%, 64%)
HSVhsv(323, 62%, 93%)
CMYKcmyk(0%, 61.9%, 23.7%, 7.5%)
CIE-LABlab(60.29, 65.12, -18.77)
CIE-LCHlch(60.29, 67.77, 343.92°)
OKLaboklab(68.43% 0.1962 -0.0497)
OKLCHoklch(68.43% 0.202 345.8)
XYZxyz(46.4881, 28.4450, 46.2133)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB4 #5AEC92
analogous
#DB5AEC #EC5AB4 #EC5A6B
triadic
#EC5AB4 #B4EC5A #5AB4EC
tetradic
#EC5AB4 #ECDB5A #5AEC92 #5A6BEC
square
#EC5AB4 #ECDB5A #5AEC92 #5A6BEC
split-complementary
#EC5AB4 #6BEC5A #5AECDB
monochromatic
#B71579 #E6239B #EC5AB4 #F291CD #F9C8E6

Accessibility & contrast

On white

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

On black

6.69
#EC5AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB4#FFFFFF#000000##000000
##EC5AB41.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6982B7
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#FB587F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab4;
/* rgb */ color: rgb(236, 90, 180);
/* oklch */ color: oklch(68.4% 0.202 345.8);
Tailwind
colors: {
  custom: {
    50: '#f691ca',
    500: '#ec5ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab4;
$custom-light: #f691ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab4",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 323.014,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68425,
    "c": 0.20243,
    "h": 345.8
  },
  "luminance": 0.2844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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