#EC5AC4#EC5AC4

#EC5AC4 is a light, highly saturated pink. Relative luminance 0.291; OKLCH L 69.1% C 0.212 H 340.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#EC5AC4
RGBrgb(236, 90, 196)
HSLhsl(316, 79%, 64%)
HSVhsv(316, 62%, 93%)
CMYKcmyk(0%, 61.9%, 16.9%, 7.5%)
CIE-LABlab(60.90, 67.29, -26.98)
CIE-LCHlch(60.90, 72.50, 338.15°)
OKLaboklab(69.08% 0.1996 -0.0726)
OKLCHoklch(69.08% 0.212 340)
XYZxyz(48.2131, 29.1350, 55.2982)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AC4 #5AEC82
analogous
#CB5AEC #EC5AC4 #EC5A7B
triadic
#EC5AC4 #C4EC5A #5AC4EC
tetradic
#EC5AC4 #ECCB5A #5AEC82 #5A7BEC
square
#EC5AC4 #ECCB5A #5AEC82 #5A7BEC
split-complementary
#EC5AC4 #7BEC5A #5AECCB
monochromatic
#B7158A #E623B0 #EC5AC4 #F291D8 #F9C8EB

Accessibility & contrast

On white

3.08
#EC5AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#EC5AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AC4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AC4#FFFFFF#000000##000000
##EC5AC41.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C7
Deuteranopia (green-blind)
#8E9BC0
Tritanopia (blue-blind)
#F95E87
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5ac4;
/* rgb */ color: rgb(236, 90, 196);
/* oklch */ color: oklch(69.1% 0.212 340.0);
Tailwind
colors: {
  custom: {
    50: '#f691d6',
    500: '#ec5ac4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ac4;
$custom-light: #f691d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ac4",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 196
  },
  "hsl": {
    "h": 316.438,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.21239,
    "h": 340
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#EC5AC4
secondary
#B7EBC5
accent
#DC430A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC5AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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