#EC57C4#EC57C4

#EC57C4 is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.8% C 0.216 H 339.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#EC57C4
RGBrgb(236, 87, 196)
HSLhsl(316, 80%, 63%)
HSVhsv(316, 63%, 93%)
CMYKcmyk(0%, 63.1%, 16.9%, 7.5%)
CIE-LABlab(60.46, 68.50, -27.66)
CIE-LCHlch(60.46, 73.87, 338.01°)
OKLaboklab(68.75% 0.2032 -0.0745)
OKLCHoklch(68.75% 0.216 339.9)
XYZxyz(47.9651, 28.6391, 55.2156)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57C4 #57EC7F
analogous
#C957EC #EC57C4 #EC5779
triadic
#EC57C4 #C4EC57 #57C4EC
tetradic
#EC57C4 #ECC957 #57EC7F #5779EC
square
#EC57C4 #ECC957 #57EC7F #5779EC
split-complementary
#EC57C4 #79EC57 #57ECC9
monochromatic
#B41489 #E620B1 #EC57C4 #F28ED7 #F8C5EB

Accessibility & contrast

On white

3.12
#EC57C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#EC57C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57C4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57C4#FFFFFF#000000##000000
##EC57C41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C7
Deuteranopia (green-blind)
#8C9AC0
Tritanopia (blue-blind)
#F95B86
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec57c4;
/* rgb */ color: rgb(236, 87, 196);
/* oklch */ color: oklch(68.8% 0.216 339.9);
Tailwind
colors: {
  custom: {
    50: '#f68fd6',
    500: '#ec57c4',
    950: '#000000',
  },
}
SCSS
$custom: #ec57c4;
$custom-light: #f68fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57c4",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 316.107,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68754,
    "c": 0.21645,
    "h": 339.9
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#EC57C4
secondary
#B5EAC3
accent
#DC420A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC57C4

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

Preview Lab → · Contrast checker → · Palette generator →

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