#EC52C5#EC52C5

#EC52C5 is a light, highly saturated pink. Relative luminance 0.279; OKLCH L 68.3% C 0.224 H 339.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#EC52C5
RGBrgb(236, 82, 197)
HSLhsl(315, 80%, 62%)
HSVhsv(315, 65%, 93%)
CMYKcmyk(0%, 65.3%, 16.5%, 7.5%)
CIE-LABlab(59.80, 70.58, -29.25)
CIE-LCHlch(59.80, 76.40, 337.49°)
OKLaboklab(68.29% 0.2092 -0.0789)
OKLCHoklch(68.29% 0.224 339.3)
XYZxyz(47.6884, 27.9030, 55.6867)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52C5 #52EC79
analogous
#C652EC #EC52C5 #EC5278
triadic
#EC52C5 #C5EC52 #52C5EC
tetradic
#EC52C5 #ECC652 #52EC79 #5278EC
square
#EC52C5 #ECC652 #52EC79 #5278EC
split-complementary
#EC52C5 #78EC52 #52ECC6
monochromatic
#B01389 #E61BB3 #EC52C5 #F289D7 #F8C0EA

Accessibility & contrast

On white

3.19
#EC52C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#EC52C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52C5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52C5#FFFFFF#000000##000000
##EC52C51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81C8
Deuteranopia (green-blind)
#8A99C1
Tritanopia (blue-blind)
#F95784
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec52c5;
/* rgb */ color: rgb(236, 82, 197);
/* oklch */ color: oklch(68.3% 0.224 339.3);
Tailwind
colors: {
  custom: {
    50: '#f68dd7',
    500: '#ec52c5',
    950: '#000000',
  },
}
SCSS
$custom: #ec52c5;
$custom-light: #f68dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52c5",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 315.195,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68285,
    "c": 0.22363,
    "h": 339.3
  },
  "luminance": 0.27899
}

Semantic roles & 50–950 ramp

primary
#EC52C5
secondary
#B1E9BF
accent
#DD3F09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC52C5

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

Preview Lab → · Contrast checker → · Palette generator →

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