#EC5BD2#EC5BD2

#EC5BD2 is a light, highly saturated pink. Relative luminance 0.300; OKLCH L 69.8% C 0.221 H 335.4°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#EC5BD2
RGBrgb(236, 91, 210)
HSLhsl(311, 79%, 64%)
HSVhsv(311, 61%, 93%)
CMYKcmyk(0%, 61.4%, 11%, 7.5%)
CIE-LABlab(61.63, 68.92, -33.79)
CIE-LCHlch(61.63, 76.76, 333.88°)
OKLaboklab(69.8% 0.2007 -0.0919)
OKLCHoklch(69.8% 0.221 335.4)
XYZxyz(49.9665, 29.9722, 64.1138)
Luminance0.2997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BD2 #5BEC75
analogous
#BE5BEC #EC5BD2 #EC5B8A
triadic
#EC5BD2 #D2EC5B #5BD2EC
tetradic
#EC5BD2 #ECBE5B #5BEC75 #5B8AEC
square
#EC5BD2 #ECBE5B #5BEC75 #5B8AEC
split-complementary
#EC5BD2 #8AEC5B #5BECBE
monochromatic
#B7159A #E624C3 #EC5BD2 #F292E1 #F9C9F0

Accessibility & contrast

On white

3.00
#EC5BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#EC5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5BD2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BD2#FFFFFF#000000##000000
##EC5BD21.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D6
Deuteranopia (green-blind)
#899DCE
Tritanopia (blue-blind)
#F7648E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5bd2;
/* rgb */ color: rgb(236, 91, 210);
/* oklch */ color: oklch(69.8% 0.221 335.4);
Tailwind
colors: {
  custom: {
    50: '#f592e0',
    500: '#ec5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bd2;
$custom-light: #f592e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bd2",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 310.759,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.698,
    "c": 0.22074,
    "h": 335.4
  },
  "luminance": 0.29968
}

Semantic roles & 50–950 ramp

primary
#EC5BD2
secondary
#B8EBC1
accent
#DC300A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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