#EC52C6#EC52C6

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

Color values

HEX#EC52C6
RGBrgb(236, 82, 198)
HSLhsl(315, 80%, 62%)
HSVhsv(315, 65%, 93%)
CMYKcmyk(0%, 65.3%, 16.1%, 7.5%)
CIE-LABlab(59.84, 70.72, -29.76)
CIE-LCHlch(59.84, 76.72, 337.18°)
OKLaboklab(68.33% 0.2094 -0.0804)
OKLCHoklch(68.33% 0.224 339)
XYZxyz(47.8034, 27.9490, 56.2922)
Luminance0.2794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52C6 #52EC78
analogous
#C552EC #EC52C6 #EC5279
triadic
#EC52C6 #C6EC52 #52C6EC
tetradic
#EC52C6 #ECC552 #52EC78 #5279EC
square
#EC52C6 #ECC552 #52EC78 #5279EC
split-complementary
#EC52C6 #79EC52 #52ECC5
monochromatic
#B0138A #E61BB4 #EC52C6 #F289D8 #F8C0EA

Accessibility & contrast

On white

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

On black

6.59
#EC52C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52C6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52C6#FFFFFF#000000##000000
##EC52C61.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981C9
Deuteranopia (green-blind)
#8999C2
Tritanopia (blue-blind)
#F95785
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec52c6;
/* rgb */ color: rgb(236, 82, 198);
/* oklch */ color: oklch(68.3% 0.224 339.0);
Tailwind
colors: {
  custom: {
    50: '#f68dd7',
    500: '#ec52c6',
    950: '#000000',
  },
}
SCSS
$custom: #ec52c6;
$custom-light: #f68dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52c6",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 314.805,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68329,
    "c": 0.22428,
    "h": 339
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC52C6

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

Preview Lab → · Contrast checker → · Palette generator →

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