#EC57D2#EC57D2

#EC57D2 is a light, highly saturated pink. Relative luminance 0.293; OKLCH L 69.4% C 0.226 H 335.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#EC57D2
RGBrgb(236, 87, 210)
HSLhsl(310, 80%, 63%)
HSVhsv(310, 63%, 93%)
CMYKcmyk(0%, 63.1%, 11%, 7.5%)
CIE-LABlab(61.05, 70.52, -34.69)
CIE-LCHlch(61.05, 78.59, 333.81°)
OKLaboklab(69.38% 0.2054 -0.0944)
OKLCHoklch(69.38% 0.226 335.3)
XYZxyz(49.6336, 29.3064, 64.0029)
Luminance0.2930 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC57D2 #57EC71
analogous
#BB57EC #EC57D2 #EC5787
triadic
#EC57D2 #D2EC57 #57D2EC
tetradic
#EC57D2 #ECBB57 #57EC71 #5787EC
square
#EC57D2 #ECBB57 #57EC71 #5787EC
split-complementary
#EC57D2 #87EC57 #57ECBB
monochromatic
#B41498 #E620C3 #EC57D2 #F28EE1 #F8C5EF

Accessibility & contrast

On white

3.06
#EC57D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#EC57D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC57D2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC57D2#FFFFFF#000000##000000
##EC57D21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D6
Deuteranopia (green-blind)
#879BCE
Tritanopia (blue-blind)
#F7608D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ec57d2;
/* rgb */ color: rgb(236, 87, 210);
/* oklch */ color: oklch(69.4% 0.226 335.3);
Tailwind
colors: {
  custom: {
    50: '#f690e0',
    500: '#ec57d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec57d2;
$custom-light: #f690e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec57d2",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 310.47,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69378,
    "c": 0.22608,
    "h": 335.3
  },
  "luminance": 0.29302
}

Semantic roles & 50–950 ramp

primary
#EC57D2
secondary
#B5EABE
accent
#DC2E0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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