#EC57AB#EC57AB

#EC57AB is a light, highly saturated pink. Relative luminance 0.276; OKLCH L 67.8% C 0.202 H 349.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#EC57AB
RGBrgb(236, 87, 171)
HSLhsl(326, 80%, 63%)
HSVhsv(326, 63%, 93%)
CMYKcmyk(0%, 63.1%, 27.5%, 7.5%)
CIE-LABlab(59.52, 65.20, -14.75)
CIE-LCHlch(59.52, 66.84, 347.25°)
OKLaboklab(67.75% 0.1978 -0.0386)
OKLCHoklch(67.75% 0.202 349)
XYZxyz(45.3529, 27.5942, 41.4579)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57AB #57EC98
analogous
#E257EC #EC57AB #EC5760
triadic
#EC57AB #ABEC57 #57ABEC
tetradic
#EC57AB #ECE257 #57EC98 #5760EC
square
#EC57AB #ECE257 #57EC98 #5760EC
split-complementary
#EC57AB #60EC57 #57ECE2
monochromatic
#B4146E #E62090 #EC57AB #F28EC6 #F8C5E2

Accessibility & contrast

On white

3.22
#EC57AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EC57AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57AB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57AB#FFFFFF#000000##000000
##EC57AB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#9499A7
Tritanopia (blue-blind)
#FC517A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec57ab;
/* rgb */ color: rgb(236, 87, 171);
/* oklch */ color: oklch(67.8% 0.202 349.0);
Tailwind
colors: {
  custom: {
    50: '#f68fc4',
    500: '#ec57ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec57ab;
$custom-light: #f68fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57ab",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 326.174,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67754,
    "c": 0.20152,
    "h": 349
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#EC57AB
secondary
#B5EACC
accent
#DC650A
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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