#EC57C2#EC57C2

#EC57C2 is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.7% C 0.215 H 340.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#EC57C2
RGBrgb(236, 87, 194)
HSLhsl(317, 80%, 63%)
HSVhsv(317, 63%, 93%)
CMYKcmyk(0%, 63.1%, 17.8%, 7.5%)
CIE-LABlab(60.38, 68.22, -26.64)
CIE-LCHlch(60.38, 73.24, 338.67°)
OKLaboklab(68.67% 0.2029 -0.0716)
OKLCHoklch(68.67% 0.215 340.6)
XYZxyz(47.7390, 28.5486, 54.0247)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57C2 #57EC81
analogous
#CC57EC #EC57C2 #EC5777
triadic
#EC57C2 #C2EC57 #57C2EC
tetradic
#EC57C2 #ECCC57 #57EC81 #5777EC
square
#EC57C2 #ECCC57 #57EC81 #5777EC
split-complementary
#EC57C2 #77EC57 #57ECCC
monochromatic
#B41487 #E620AE #EC57C2 #F28ED6 #F8C5EA

Accessibility & contrast

On white

3.13
#EC57C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#EC57C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57C2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57C2#FFFFFF#000000##000000
##EC57C21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#8D9ABE
Tritanopia (blue-blind)
#F95A85
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec57c2;
/* rgb */ color: rgb(236, 87, 194);
/* oklch */ color: oklch(68.7% 0.215 340.6);
Tailwind
colors: {
  custom: {
    50: '#f68fd4',
    500: '#ec57c2',
    950: '#000000',
  },
}
SCSS
$custom: #ec57c2;
$custom-light: #f68fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57c2",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 316.913,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68669,
    "c": 0.21514,
    "h": 340.6
  },
  "luminance": 0.28544
}

Semantic roles & 50–950 ramp

primary
#EC57C2
secondary
#B5EAC4
accent
#DC450A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC57C2

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

Preview Lab → · Contrast checker → · Palette generator →

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