#EC52D1#EC52D1

#EC52D1 is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.8% C 0.232 H 335.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#EC52D1
RGBrgb(236, 82, 209)
HSLhsl(311, 80%, 62%)
HSVhsv(311, 65%, 93%)
CMYKcmyk(0%, 65.3%, 11.4%, 7.5%)
CIE-LABlab(60.32, 72.30, -35.27)
CIE-LCHlch(60.32, 80.44, 333.99°)
OKLaboklab(68.83% 0.211 -0.096)
OKLCHoklch(68.83% 0.232 335.5)
XYZxyz(49.1185, 28.4750, 63.2185)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52D1 #52EC6D
analogous
#BA52EC #EC52D1 #EC5284
triadic
#EC52D1 #D1EC52 #52D1EC
tetradic
#EC52D1 #ECBA52 #52EC6D #5284EC
square
#EC52D1 #ECBA52 #52EC6D #5284EC
split-complementary
#EC52D1 #84EC52 #52ECBA
monochromatic
#B01395 #E61BC2 #EC52D1 #F289E0 #F8C0EE

Accessibility & contrast

On white

3.14
#EC52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#EC52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52D1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52D1#FFFFFF#000000##000000
##EC52D11.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#859ACD
Tritanopia (blue-blind)
#F75C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec52d1;
/* rgb */ color: rgb(236, 82, 209);
/* oklch */ color: oklch(68.8% 0.232 335.5);
Tailwind
colors: {
  custom: {
    50: '#f68ddf',
    500: '#ec52d1',
    950: '#000000',
  },
}
SCSS
$custom: #ec52d1;
$custom-light: #f68ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52d1",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 310.519,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.23179,
    "h": 335.5
  },
  "luminance": 0.28471
}

Semantic roles & 50–950 ramp

primary
#EC52D1
secondary
#B1E9BB
accent
#DD2E09
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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