#EC57A7#EC57A7

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

Color values

HEX#EC57A7
RGBrgb(236, 87, 167)
HSLhsl(328, 80%, 63%)
HSVhsv(328, 63%, 93%)
CMYKcmyk(0%, 63.1%, 29.2%, 7.5%)
CIE-LABlab(59.38, 64.71, -12.65)
CIE-LCHlch(59.38, 65.93, 348.94°)
OKLaboklab(67.61% 0.1968 -0.0329)
OKLCHoklch(67.61% 0.199 350.5)
XYZxyz(44.9774, 27.4440, 39.4803)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57A7 #57EC9C
analogous
#E657EC #EC57A7 #EC575C
triadic
#EC57A7 #A7EC57 #57A7EC
tetradic
#EC57A7 #ECE657 #57EC9C #575CEC
square
#EC57A7 #ECE657 #57EC9C #575CEC
split-complementary
#EC57A7 #5CEC57 #57ECE6
monochromatic
#B4146A #E6208A #EC57A7 #F28EC4 #F8C5E1

Accessibility & contrast

On white

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

On black

6.49
#EC57A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57A7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57A7#FFFFFF#000000##000000
##EC57A71.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#9599A3
Tritanopia (blue-blind)
#FC5078
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec57a7;
/* rgb */ color: rgb(236, 87, 167);
/* oklch */ color: oklch(67.6% 0.199 350.5);
Tailwind
colors: {
  custom: {
    50: '#f68fc1',
    500: '#ec57a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec57a7;
$custom-light: #f68fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57a7",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 327.785,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67608,
    "c": 0.19948,
    "h": 350.5
  },
  "luminance": 0.27439
}

Semantic roles & 50–950 ramp

primary
#EC57A7
secondary
#B5EACD
accent
#DC6B0A
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC57A7

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

Preview Lab → · Contrast checker → · Palette generator →

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