#EC57C6#EC57C6

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

Color values

HEX#EC57C6
RGBrgb(236, 87, 198)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 63%, 93%)
CMYKcmyk(0%, 63.1%, 16.1%, 7.5%)
CIE-LABlab(60.54, 68.78, -28.67)
CIE-LCHlch(60.54, 74.52, 337.37°)
OKLaboklab(68.84% 0.2036 -0.0773)
OKLCHoklch(68.84% 0.218 339.2)
XYZxyz(48.1943, 28.7307, 56.4225)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57C6 #57EC7D
analogous
#C757EC #EC57C6 #EC577B
triadic
#EC57C6 #C6EC57 #57C6EC
tetradic
#EC57C6 #ECC757 #57EC7D #577BEC
square
#EC57C6 #ECC757 #57EC7D #577BEC
split-complementary
#EC57C6 #7BEC57 #57ECC7
monochromatic
#B4148B #E620B3 #EC57C6 #F28ED9 #F8C5EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC57C6#FFFFFF#000000##000000
##EC57C61.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)
#5E83C9
Deuteranopia (green-blind)
#8C9BC2
Tritanopia (blue-blind)
#F95C87
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec57c6;
/* rgb */ color: rgb(236, 87, 198);
/* oklch */ color: oklch(68.8% 0.218 339.2);
Tailwind
colors: {
  custom: {
    50: '#f68fd7',
    500: '#ec57c6',
    950: '#000000',
  },
}
SCSS
$custom: #ec57c6;
$custom-light: #f68fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57c6",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 198
  },
  "hsl": {
    "h": 315.302,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68841,
    "c": 0.21778,
    "h": 339.2
  },
  "luminance": 0.28726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC57C6

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

Preview Lab → · Contrast checker → · Palette generator →

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