#EC57C5#EC57C5

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

Color values

HEX#EC57C5
RGBrgb(236, 87, 197)
HSLhsl(316, 80%, 63%)
HSVhsv(316, 63%, 93%)
CMYKcmyk(0%, 63.1%, 16.5%, 7.5%)
CIE-LABlab(60.50, 68.64, -28.17)
CIE-LCHlch(60.50, 74.19, 337.69°)
OKLaboklab(68.8% 0.2034 -0.0759)
OKLCHoklch(68.8% 0.217 339.5)
XYZxyz(48.0793, 28.6847, 55.8170)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57C5 #57EC7E
analogous
#C957EC #EC57C5 #EC577A
triadic
#EC57C5 #C5EC57 #57C5EC
tetradic
#EC57C5 #ECC957 #57EC7E #577AEC
square
#EC57C5 #ECC957 #57EC7E #577AEC
split-complementary
#EC57C5 #7AEC57 #57ECC9
monochromatic
#B4148A #E620B2 #EC57C5 #F28ED8 #F8C5EB

Accessibility & contrast

On white

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

On black

6.74
#EC57C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57C5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57C5#FFFFFF#000000##000000
##EC57C51.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec57c5;
/* rgb */ color: rgb(236, 87, 197);
/* oklch */ color: oklch(68.8% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#f68fd7',
    500: '#ec57c5',
    950: '#000000',
  },
}
SCSS
$custom: #ec57c5;
$custom-light: #f68fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57c5",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 197
  },
  "hsl": {
    "h": 315.705,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.21711,
    "h": 339.5
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC57C5

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

Preview Lab → · Contrast checker → · Palette generator →

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