#EC57A6#EC57A6

#EC57A6 is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.6% C 0.199 H 350.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EC57A6
RGBrgb(236, 87, 166)
HSLhsl(328, 80%, 63%)
HSVhsv(328, 63%, 93%)
CMYKcmyk(0%, 63.1%, 29.7%, 7.5%)
CIE-LABlab(59.35, 64.59, -12.12)
CIE-LCHlch(59.35, 65.71, 349.37°)
OKLaboklab(67.57% 0.1965 -0.0314)
OKLCHoklch(67.57% 0.199 350.9)
XYZxyz(44.8853, 27.4071, 38.9953)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57A6 #57EC9D
analogous
#E757EC #EC57A6 #EC575B
triadic
#EC57A6 #A6EC57 #57A6EC
tetradic
#EC57A6 #ECE757 #57EC9D #575BEC
square
#EC57A6 #ECE757 #57EC9D #575BEC
split-complementary
#EC57A6 #5BEC57 #57ECE7
monochromatic
#B41469 #E62089 #EC57A6 #F28EC3 #F8C5E0

Accessibility & contrast

On white

3.24
#EC57A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#EC57A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57A6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57A6#FFFFFF#000000##000000
##EC57A61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#9699A2
Tritanopia (blue-blind)
#FC5077
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec57a6;
/* rgb */ color: rgb(236, 87, 166);
/* oklch */ color: oklch(67.6% 0.199 350.9);
Tailwind
colors: {
  custom: {
    50: '#f68fc0',
    500: '#ec57a6',
    950: '#000000',
  },
}
SCSS
$custom: #ec57a6;
$custom-light: #f68fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57a6",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 328.188,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67572,
    "c": 0.19898,
    "h": 350.9
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#EC57A6
secondary
#B5EACE
accent
#DC6C0A
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC57A6

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

Preview Lab → · Contrast checker → · Palette generator →

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