#EC52B3#EC52B3

#EC52B3 is a light, highly saturated pink. Relative luminance 0.271; OKLCH L 67.5% C 0.213 H 345.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EC52B3
RGBrgb(236, 82, 179)
HSLhsl(322, 80%, 62%)
HSVhsv(322, 65%, 93%)
CMYKcmyk(0%, 65.3%, 24.2%, 7.5%)
CIE-LABlab(59.09, 68.17, -20.02)
CIE-LCHlch(59.09, 71.05, 343.64°)
OKLaboklab(67.53% 0.2058 -0.0531)
OKLCHoklch(67.53% 0.213 345.5)
XYZxyz(45.7478, 27.1267, 45.4658)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC52B3 #52EC8B
analogous
#D852EC #EC52B3 #EC5266
triadic
#EC52B3 #B3EC52 #52B3EC
tetradic
#EC52B3 #ECD852 #52EC8B #5266EC
square
#EC52B3 #ECD852 #52EC8B #5266EC
split-complementary
#EC52B3 #66EC52 #52ECD8
monochromatic
#B01376 #E61B9B #EC52B3 #F289CB #F8C0E3

Accessibility & contrast

On white

3.27
#EC52B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EC52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC52B3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC52B3#FFFFFF#000000##000000
##EC52B31.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB6
Deuteranopia (green-blind)
#9098AF
Tritanopia (blue-blind)
#FB507B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec52b3;
/* rgb */ color: rgb(236, 82, 179);
/* oklch */ color: oklch(67.5% 0.213 345.5);
Tailwind
colors: {
  custom: {
    50: '#f68cc9',
    500: '#ec52b3',
    950: '#000000',
  },
}
SCSS
$custom: #ec52b3;
$custom-light: #f68cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec52b3",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 322.208,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.21252,
    "h": 345.5
  },
  "luminance": 0.27122
}

Semantic roles & 50–950 ramp

primary
#EC52B3
secondary
#B1E9C6
accent
#DD5709
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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