#EC57A4#EC57A4

#EC57A4 is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.5% C 0.198 H 351.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#EC57A4
RGBrgb(236, 87, 164)
HSLhsl(329, 80%, 63%)
HSVhsv(329, 63%, 93%)
CMYKcmyk(0%, 63.1%, 30.5%, 7.5%)
CIE-LABlab(59.28, 64.35, -11.06)
CIE-LCHlch(59.28, 65.29, 350.25°)
OKLaboklab(67.5% 0.1959 -0.0286)
OKLCHoklch(67.5% 0.198 351.7)
XYZxyz(44.7033, 27.3343, 38.0366)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57A4 #57EC9F
analogous
#E957EC #EC57A4 #EC5759
triadic
#EC57A4 #A4EC57 #57A4EC
tetradic
#EC57A4 #ECE957 #57EC9F #5759EC
square
#EC57A4 #ECE957 #57EC9F #5759EC
split-complementary
#EC57A4 #59EC57 #57ECE9
monochromatic
#B41467 #E62086 #EC57A4 #F28EC2 #F8C5E0

Accessibility & contrast

On white

3.25
#EC57A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#EC57A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57A4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57A4#FFFFFF#000000##000000
##EC57A41.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7EA6
Deuteranopia (green-blind)
#9699A0
Tritanopia (blue-blind)
#FD4F76
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec57a4;
/* rgb */ color: rgb(236, 87, 164);
/* oklch */ color: oklch(67.5% 0.198 351.7);
Tailwind
colors: {
  custom: {
    50: '#f68fbf',
    500: '#ec57a4',
    950: '#000000',
  },
}
SCSS
$custom: #ec57a4;
$custom-light: #f68fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57a4",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 328.993,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.198,
    "h": 351.7
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#EC57A4
secondary
#B5EACF
accent
#DC6F0A
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC57A4

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

Preview Lab → · Contrast checker → · Palette generator →

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