#EC5ACC#EC5ACC

#EC5ACC is a light, highly saturated pink. Relative luminance 0.295; OKLCH L 69.4% C 0.218 H 337.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#EC5ACC
RGBrgb(236, 90, 204)
HSLhsl(313, 79%, 64%)
HSVhsv(313, 62%, 93%)
CMYKcmyk(0%, 61.9%, 13.6%, 7.5%)
CIE-LABlab(61.23, 68.44, -31.02)
CIE-LCHlch(61.23, 75.14, 335.62°)
OKLaboklab(69.42% 0.201 -0.084)
OKLCHoklch(69.42% 0.218 337.3)
XYZxyz(49.1480, 29.5089, 60.2223)
Luminance0.2950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5ACC #5AEC7A
analogous
#C35AEC #EC5ACC #EC5A83
triadic
#EC5ACC #CCEC5A #5ACCEC
tetradic
#EC5ACC #ECC35A #5AEC7A #5A83EC
square
#EC5ACC #ECC35A #5AEC7A #5A83EC
split-complementary
#EC5ACC #83EC5A #5AECC3
monochromatic
#B71593 #E623BB #EC5ACC #F291DD #F9C8EE

Accessibility & contrast

On white

3.04
#EC5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#EC5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5ACC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5ACC#FFFFFF#000000##000000
##EC5ACC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#F8618B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5acc;
/* rgb */ color: rgb(236, 90, 204);
/* oklch */ color: oklch(69.4% 0.218 337.3);
Tailwind
colors: {
  custom: {
    50: '#f691dc',
    500: '#ec5acc',
    950: '#000000',
  },
}
SCSS
$custom: #ec5acc;
$custom-light: #f691dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5acc",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 313.151,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.21784,
    "h": 337.3
  },
  "luminance": 0.29505
}

Semantic roles & 50–950 ramp

primary
#EC5ACC
secondary
#B7EBC3
accent
#DC380A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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