#EC52C1#EC52C1

#EC52C1 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.1% C 0.221 H 340.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#EC52C1
RGBrgb(236, 82, 193)
HSLhsl(317, 80%, 62%)
HSVhsv(317, 65%, 93%)
CMYKcmyk(0%, 65.3%, 18.2%, 7.5%)
CIE-LABlab(59.64, 70.03, -27.22)
CIE-LCHlch(59.64, 75.13, 338.76°)
OKLaboklab(68.11% 0.2086 -0.0732)
OKLCHoklch(68.11% 0.221 340.7)
XYZxyz(47.2362, 27.7221, 53.3049)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52C1 #52EC7D
analogous
#CA52EC #EC52C1 #EC5274
triadic
#EC52C1 #C1EC52 #52C1EC
tetradic
#EC52C1 #ECCA52 #52EC7D #5274EC
square
#EC52C1 #ECCA52 #52EC7D #5274EC
split-complementary
#EC52C1 #74EC52 #52ECCA
monochromatic
#B01384 #E61BAD #EC52C1 #F289D5 #F8C0E9

Accessibility & contrast

On white

3.21
#EC52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#EC52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52C1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52C1#FFFFFF#000000##000000
##EC52C11.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C80C4
Deuteranopia (green-blind)
#8B99BD
Tritanopia (blue-blind)
#F95582
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec52c1;
/* rgb */ color: rgb(236, 82, 193);
/* oklch */ color: oklch(68.1% 0.221 340.7);
Tailwind
colors: {
  custom: {
    50: '#f68dd4',
    500: '#ec52c1',
    950: '#000000',
  },
}
SCSS
$custom: #ec52c1;
$custom-light: #f68dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52c1",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 316.753,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.22103,
    "h": 340.7
  },
  "luminance": 0.27718
}

Semantic roles & 50–950 ramp

primary
#EC52C1
secondary
#B1E9C0
accent
#DD4409
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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