#EC57A1#EC57A1

#EC57A1 is a light, vivid pink. Relative luminance 0.272; OKLCH L 67.4% C 0.197 H 352.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EC57A1
RGBrgb(236, 87, 161)
HSLhsl(330, 80%, 63%)
HSVhsv(330, 63%, 93%)
CMYKcmyk(0%, 63.1%, 31.8%, 7.5%)
CIE-LABlab(59.18, 63.99, -9.47)
CIE-LCHlch(59.18, 64.69, 351.59°)
OKLaboklab(67.4% 0.1951 -0.0243)
OKLCHoklch(67.4% 0.197 352.9)
XYZxyz(44.4356, 27.2272, 36.6266)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57A1 #57ECA2
analogous
#EC57EC #EC57A1 #EC5757
triadic
#EC57A1 #A1EC57 #57A1EC
tetradic
#EC57A1 #ECEC57 #57ECA2 #5757EC
square
#EC57A1 #ECEC57 #57ECA2 #5757EC
split-complementary
#EC57A1 #57EC57 #57ECEC
monochromatic
#B41464 #E62082 #EC57A1 #F28EC0 #F8C5DF

Accessibility & contrast

On white

3.26
#EC57A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EC57A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57A1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57A1#FFFFFF#000000##000000
##EC57A11.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA3
Deuteranopia (green-blind)
#97989D
Tritanopia (blue-blind)
#FD4E75
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec57a1;
/* rgb */ color: rgb(236, 87, 161);
/* oklch */ color: oklch(67.4% 0.197 352.9);
Tailwind
colors: {
  custom: {
    50: '#f68fbc',
    500: '#ec57a1',
    950: '#000000',
  },
}
SCSS
$custom: #ec57a1;
$custom-light: #f68fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57a1",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 161
  },
  "hsl": {
    "h": 330.201,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67395,
    "c": 0.19659,
    "h": 352.9
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#EC57A1
secondary
#B5EAD0
accent
#DC730A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC57A1

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

Preview Lab → · Contrast checker → · Palette generator →

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