#EC5AC5#EC5AC5

#EC5AC5 is a light, highly saturated pink. Relative luminance 0.292; OKLCH L 69.1% C 0.213 H 339.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#EC5AC5
RGBrgb(236, 90, 197)
HSLhsl(316, 79%, 64%)
HSVhsv(316, 62%, 93%)
CMYKcmyk(0%, 61.9%, 16.5%, 7.5%)
CIE-LABlab(60.94, 67.43, -27.49)
CIE-LCHlch(60.94, 72.82, 337.82°)
OKLaboklab(69.12% 0.1998 -0.074)
OKLCHoklch(69.12% 0.213 339.7)
XYZxyz(48.3273, 29.1806, 55.8997)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AC5 #5AEC81
analogous
#CA5AEC #EC5AC5 #EC5A7C
triadic
#EC5AC5 #C5EC5A #5AC5EC
tetradic
#EC5AC5 #ECCA5A #5AEC81 #5A7CEC
square
#EC5AC5 #ECCA5A #5AEC81 #5A7CEC
split-complementary
#EC5AC5 #7CEC5A #5AECCA
monochromatic
#B7158B #E623B2 #EC5AC5 #F291D8 #F9C8EC

Accessibility & contrast

On white

3.07
#EC5AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#EC5AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AC5
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AC5#FFFFFF#000000##000000
##EC5AC51.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C8
Deuteranopia (green-blind)
#8E9CC1
Tritanopia (blue-blind)
#F95E88
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec5ac5;
/* rgb */ color: rgb(236, 90, 197);
/* oklch */ color: oklch(69.1% 0.213 339.7);
Tailwind
colors: {
  custom: {
    50: '#f691d6',
    500: '#ec5ac5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ac5;
$custom-light: #f691d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ac5",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 316.027,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69119,
    "c": 0.21306,
    "h": 339.7
  },
  "luminance": 0.29176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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