#EC5AC8#EC5AC8

#EC5AC8 is a light, highly saturated pink. Relative luminance 0.293; OKLCH L 69.2% C 0.215 H 338.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EC5AC8
RGBrgb(236, 90, 200)
HSLhsl(315, 79%, 64%)
HSVhsv(315, 62%, 93%)
CMYKcmyk(0%, 61.9%, 15.3%, 7.5%)
CIE-LABlab(61.06, 67.86, -29.01)
CIE-LCHlch(61.06, 73.80, 336.86°)
OKLaboklab(69.25% 0.2003 -0.0783)
OKLCHoklch(69.25% 0.215 338.6)
XYZxyz(48.6744, 29.3195, 57.7281)
Luminance0.2932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AC8 #5AEC7E
analogous
#C75AEC #EC5AC8 #EC5A7F
triadic
#EC5AC8 #C8EC5A #5AC8EC
tetradic
#EC5AC8 #ECC75A #5AEC7E #5A7FEC
square
#EC5AC8 #ECC75A #5AEC7E #5A7FEC
split-complementary
#EC5AC8 #7FEC5A #5AECC7
monochromatic
#B7158F #E623B6 #EC5AC8 #F291DA #F9C8ED

Accessibility & contrast

On white

3.06
#EC5AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EC5AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AC8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AC8#FFFFFF#000000##000000
##EC5AC81.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6085CB
Deuteranopia (green-blind)
#8D9CC4
Tritanopia (blue-blind)
#F85F89
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5ac8;
/* rgb */ color: rgb(236, 90, 200);
/* oklch */ color: oklch(69.2% 0.215 338.6);
Tailwind
colors: {
  custom: {
    50: '#f691d9',
    500: '#ec5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ac8;
$custom-light: #f691d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ac8",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 314.795,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69248,
    "c": 0.21508,
    "h": 338.6
  },
  "luminance": 0.29315
}

Semantic roles & 50–950 ramp

primary
#EC5AC8
secondary
#B7EBC4
accent
#DC3E0A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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