#EC5AC2#EC5AC2

#EC5AC2 is a light, highly saturated pink. Relative luminance 0.290; OKLCH L 69.0% C 0.211 H 340.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#EC5AC2
RGBrgb(236, 90, 194)
HSLhsl(317, 79%, 64%)
HSVhsv(317, 62%, 93%)
CMYKcmyk(0%, 61.9%, 17.8%, 7.5%)
CIE-LABlab(60.82, 67.01, -25.96)
CIE-LCHlch(60.82, 71.87, 338.82°)
OKLaboklab(68.99% 0.1992 -0.0698)
OKLCHoklch(68.99% 0.211 340.7)
XYZxyz(47.9870, 29.0445, 54.1073)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AC2 #5AEC84
analogous
#CD5AEC #EC5AC2 #EC5A79
triadic
#EC5AC2 #C2EC5A #5AC2EC
tetradic
#EC5AC2 #ECCD5A #5AEC84 #5A79EC
square
#EC5AC2 #ECCD5A #5AEC84 #5A79EC
split-complementary
#EC5AC2 #79EC5A #5AECCD
monochromatic
#B71588 #E623AE #EC5AC2 #F291D6 #F9C8EB

Accessibility & contrast

On white

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

On black

6.81
#EC5AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AC2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AC2#FFFFFF#000000##000000
##EC5AC21.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#8F9BBE
Tritanopia (blue-blind)
#F95D86
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5ac2;
/* rgb */ color: rgb(236, 90, 194);
/* oklch */ color: oklch(69.0% 0.211 340.7);
Tailwind
colors: {
  custom: {
    50: '#f691d4',
    500: '#ec5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ac2;
$custom-light: #f691d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ac2",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 317.26,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.21109,
    "h": 340.7
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#EC5AC2
secondary
#B7EBC6
accent
#DC460A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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