#EC57BA#EC57BA

#EC57BA is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.3% C 0.210 H 343.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#EC57BA
RGBrgb(236, 87, 186)
HSLhsl(320, 80%, 63%)
HSVhsv(320, 63%, 93%)
CMYKcmyk(0%, 63.1%, 21.2%, 7.5%)
CIE-LABlab(60.07, 67.13, -22.55)
CIE-LCHlch(60.07, 70.81, 341.43°)
OKLaboklab(68.34% 0.2013 -0.0602)
OKLCHoklch(68.34% 0.21 343.4)
XYZxyz(46.8646, 28.1989, 49.4196)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57BA #57EC89
analogous
#D357EC #EC57BA #EC576F
triadic
#EC57BA #BAEC57 #57BAEC
tetradic
#EC57BA #ECD357 #57EC89 #576FEC
square
#EC57BA #ECD357 #57EC89 #576FEC
split-complementary
#EC57BA #6FEC57 #57ECD3
monochromatic
#B4147F #E620A3 #EC57BA #F28ED1 #F8C5E7

Accessibility & contrast

On white

3.16
#EC57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#EC57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57BA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57BA#FFFFFF#000000##000000
##EC57BA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BD
Deuteranopia (green-blind)
#909AB6
Tritanopia (blue-blind)
#FA5781
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec57ba;
/* rgb */ color: rgb(236, 87, 186);
/* oklch */ color: oklch(68.3% 0.210 343.4);
Tailwind
colors: {
  custom: {
    50: '#f68fcf',
    500: '#ec57ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec57ba;
$custom-light: #f68fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57ba",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 320.134,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.21009,
    "h": 343.4
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

primary
#EC57BA
secondary
#B5EAC7
accent
#DC500A
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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