#EC52AD#EC52AD

#EC52AD is a light, highly saturated pink. Relative luminance 0.269; OKLCH L 67.3% C 0.209 H 347.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EC52AD
RGBrgb(236, 82, 173)
HSLhsl(325, 80%, 62%)
HSVhsv(325, 65%, 93%)
CMYKcmyk(0%, 65.3%, 26.7%, 7.5%)
CIE-LABlab(58.87, 67.42, -16.89)
CIE-LCHlch(58.87, 69.50, 345.94°)
OKLaboklab(67.3% 0.2044 -0.0444)
OKLCHoklch(67.3% 0.209 347.7)
XYZxyz(45.1541, 26.8893, 42.3392)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52AD #52EC91
analogous
#DE52EC #EC52AD #EC5260
triadic
#EC52AD #ADEC52 #52ADEC
tetradic
#EC52AD #ECDE52 #52EC91 #5260EC
square
#EC52AD #ECDE52 #52EC91 #5260EC
split-complementary
#EC52AD #60EC52 #52ECDE
monochromatic
#B01370 #E61B93 #EC52AD #F289C7 #F8C0E1

Accessibility & contrast

On white

3.29
#EC52AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EC52AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52AD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52AD#FFFFFF#000000##000000
##EC52AD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657DB0
Deuteranopia (green-blind)
#9297A9
Tritanopia (blue-blind)
#FC4D78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec52ad;
/* rgb */ color: rgb(236, 82, 173);
/* oklch */ color: oklch(67.3% 0.209 347.7);
Tailwind
colors: {
  custom: {
    50: '#f68cc5',
    500: '#ec52ad',
    950: '#000000',
  },
}
SCSS
$custom: #ec52ad;
$custom-light: #f68cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52ad",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 324.545,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.673,
    "c": 0.20917,
    "h": 347.7
  },
  "luminance": 0.26885
}

Semantic roles & 50–950 ramp

primary
#EC52AD
secondary
#B1E9C8
accent
#DD6009
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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