#EC52A1#EC52A1

#EC52A1 is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 66.9% C 0.203 H 352.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#EC52A1
RGBrgb(236, 82, 161)
HSLhsl(329, 80%, 62%)
HSVhsv(329, 65%, 93%)
CMYKcmyk(0%, 65.3%, 31.8%, 7.5%)
CIE-LABlab(58.46, 65.98, -10.55)
CIE-LCHlch(58.46, 66.82, 350.91°)
OKLaboklab(66.86% 0.2013 -0.0272)
OKLCHoklch(66.86% 0.203 352.3)
XYZxyz(44.0447, 26.4455, 36.4963)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52A1 #52EC9D
analogous
#EA52EC #EC52A1 #EC5254
triadic
#EC52A1 #A1EC52 #52A1EC
tetradic
#EC52A1 #ECEA52 #52EC9D #5254EC
square
#EC52A1 #ECEA52 #52EC9D #5254EC
split-complementary
#EC52A1 #54EC52 #52ECEA
monochromatic
#B01364 #E61B83 #EC52A1 #F289BF #F8C0DD

Accessibility & contrast

On white

3.34
#EC52A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#EC52A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52A1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52A1#FFFFFF#000000##000000
##EC52A11.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA3
Deuteranopia (green-blind)
#95979D
Tritanopia (blue-blind)
#FD4873
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec52a1;
/* rgb */ color: rgb(236, 82, 161);
/* oklch */ color: oklch(66.9% 0.203 352.3);
Tailwind
colors: {
  custom: {
    50: '#f78cbc',
    500: '#ec52a1',
    950: '#000000',
  },
}
SCSS
$custom: #ec52a1;
$custom-light: #f78cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52a1",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 329.221,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66859,
    "c": 0.20313,
    "h": 352.3
  },
  "luminance": 0.26441
}

Semantic roles & 50–950 ramp

primary
#EC52A1
secondary
#B1E9CC
accent
#DD7009
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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