#EC57A8#EC57A8

#EC57A8 is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.6% C 0.200 H 350.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#EC57A8
RGBrgb(236, 87, 168)
HSLhsl(327, 80%, 63%)
HSVhsv(327, 63%, 93%)
CMYKcmyk(0%, 63.1%, 28.8%, 7.5%)
CIE-LABlab(59.42, 64.83, -13.17)
CIE-LCHlch(59.42, 66.15, 348.51°)
OKLaboklab(67.64% 0.197 -0.0343)
OKLCHoklch(67.64% 0.2 350.1)
XYZxyz(45.0702, 27.4811, 39.9690)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57A8 #57EC9B
analogous
#E657EC #EC57A8 #EC575D
triadic
#EC57A8 #A8EC57 #57A8EC
tetradic
#EC57A8 #ECE657 #57EC9B #575DEC
square
#EC57A8 #ECE657 #57EC9B #575DEC
split-complementary
#EC57A8 #5DEC57 #57ECE6
monochromatic
#B4146B #E6208C #EC57A8 #F28EC4 #F8C5E1

Accessibility & contrast

On white

3.23
#EC57A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#EC57A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57A8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57A8#FFFFFF#000000##000000
##EC57A81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec57a8;
/* rgb */ color: rgb(236, 87, 168);
/* oklch */ color: oklch(67.6% 0.200 350.1);
Tailwind
colors: {
  custom: {
    50: '#f68fc1',
    500: '#ec57a8',
    950: '#000000',
  },
}
SCSS
$custom: #ec57a8;
$custom-light: #f68fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57a8",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 327.383,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.19998,
    "h": 350.1
  },
  "luminance": 0.27476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC57A8

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

Preview Lab → · Contrast checker → · Palette generator →

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