#EC57C7#EC57C7

#EC57C7 is a light, highly saturated pink. Relative luminance 0.288; OKLCH L 68.9% C 0.218 H 338.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#EC57C7
RGBrgb(236, 87, 199)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 63%, 93%)
CMYKcmyk(0%, 63.1%, 15.7%, 7.5%)
CIE-LABlab(60.58, 68.92, -29.18)
CIE-LCHlch(60.58, 74.84, 337.06°)
OKLaboklab(68.88% 0.2037 -0.0788)
OKLCHoklch(68.88% 0.218 338.9)
XYZxyz(48.3100, 28.7770, 57.0319)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57C7 #57EC7C
analogous
#C657EC #EC57C7 #EC577C
triadic
#EC57C7 #C7EC57 #57C7EC
tetradic
#EC57C7 #ECC657 #57EC7C #577CEC
square
#EC57C7 #ECC657 #57EC7C #577CEC
split-complementary
#EC57C7 #7CEC57 #57ECC6
monochromatic
#B4148D #E620B5 #EC57C7 #F28ED9 #F8C5EC

Accessibility & contrast

On white

3.11
#EC57C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#EC57C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57C7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57C7#FFFFFF#000000##000000
##EC57C71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#8B9BC3
Tritanopia (blue-blind)
#F95C87
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec57c7;
/* rgb */ color: rgb(236, 87, 199);
/* oklch */ color: oklch(68.9% 0.218 338.9);
Tailwind
colors: {
  custom: {
    50: '#f68fd8',
    500: '#ec57c7',
    950: '#000000',
  },
}
SCSS
$custom: #ec57c7;
$custom-light: #f68fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57c7",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 314.899,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.21845,
    "h": 338.9
  },
  "luminance": 0.28773
}

Semantic roles & 50–950 ramp

primary
#EC57C7
secondary
#B5EAC2
accent
#DC3E0A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC57C7

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

Preview Lab → · Contrast checker → · Palette generator →

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