#EC57BD#EC57BD

#EC57BD is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.5% C 0.212 H 342.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#EC57BD
RGBrgb(236, 87, 189)
HSLhsl(319, 80%, 63%)
HSVhsv(319, 63%, 93%)
CMYKcmyk(0%, 63.1%, 19.9%, 7.5%)
CIE-LABlab(60.18, 67.53, -24.09)
CIE-LCHlch(60.18, 71.70, 340.37°)
OKLaboklab(68.46% 0.2019 -0.0645)
OKLCHoklch(68.46% 0.212 342.3)
XYZxyz(47.1869, 28.3278, 51.1169)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57BD #57EC86
analogous
#D057EC #EC57BD #EC5772
triadic
#EC57BD #BDEC57 #57BDEC
tetradic
#EC57BD #ECD057 #57EC86 #5772EC
square
#EC57BD #ECD057 #57EC86 #5772EC
split-complementary
#EC57BD #72EC57 #57ECD0
monochromatic
#B41482 #E620A7 #EC57BD #F28ED3 #F8C5E8

Accessibility & contrast

On white

3.15
#EC57BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#EC57BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57BD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57BD#FFFFFF#000000##000000
##EC57BD1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C0
Deuteranopia (green-blind)
#8F9AB9
Tritanopia (blue-blind)
#FA5882
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec57bd;
/* rgb */ color: rgb(236, 87, 189);
/* oklch */ color: oklch(68.5% 0.212 342.3);
Tailwind
colors: {
  custom: {
    50: '#f68fd1',
    500: '#ec57bd',
    950: '#000000',
  },
}
SCSS
$custom: #ec57bd;
$custom-light: #f68fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57bd",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 318.926,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6846,
    "c": 0.21194,
    "h": 342.3
  },
  "luminance": 0.28323
}

Semantic roles & 50–950 ramp

primary
#EC57BD
secondary
#B5EAC6
accent
#DC4C0A
background
#FFF9FC
surface
#FFF2F9
border
#D7CCD2
text
#180D14
muted
#867E82

Preview Lab

Preview with #EC57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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