#EC52C9#EC52C9

#EC52C9 is a light, highly saturated pink. Relative luminance 0.281; OKLCH L 68.5% C 0.226 H 338.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EC52C9
RGBrgb(236, 82, 201)
HSLhsl(314, 80%, 62%)
HSVhsv(314, 65%, 93%)
CMYKcmyk(0%, 65.3%, 14.8%, 7.5%)
CIE-LABlab(59.97, 71.14, -31.27)
CIE-LCHlch(59.97, 77.71, 336.27°)
OKLaboklab(68.46% 0.2099 -0.0847)
OKLCHoklch(68.46% 0.226 338)
XYZxyz(48.1529, 28.0888, 58.1326)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52C9 #52EC75
analogous
#C252EC #EC52C9 #EC527C
triadic
#EC52C9 #C9EC52 #52C9EC
tetradic
#EC52C9 #ECC252 #52EC75 #527CEC
square
#EC52C9 #ECC252 #52EC75 #527CEC
split-complementary
#EC52C9 #7CEC52 #52ECC2
monochromatic
#B0138D #E61BB8 #EC52C9 #F289DA #F8C0EB

Accessibility & contrast

On white

3.17
#EC52C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EC52C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52C9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52C9#FFFFFF#000000##000000
##EC52C91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#8899C5
Tritanopia (blue-blind)
#F85986
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec52c9;
/* rgb */ color: rgb(236, 82, 201);
/* oklch */ color: oklch(68.5% 0.226 338.0);
Tailwind
colors: {
  custom: {
    50: '#f68dd9',
    500: '#ec52c9',
    950: '#000000',
  },
}
SCSS
$custom: #ec52c9;
$custom-light: #f68dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52c9",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 201
  },
  "hsl": {
    "h": 313.636,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.22629,
    "h": 338
  },
  "luminance": 0.28084
}

Semantic roles & 50–950 ramp

primary
#EC52C9
secondary
#B1E9BE
accent
#DD3909
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC52C9

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

Preview Lab → · Contrast checker → · Palette generator →

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