#EC5CD2#EC5CD2

#EC5CD2 is a light, highly saturated pink. Relative luminance 0.301; OKLCH L 69.9% C 0.219 H 335.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD2
RGBrgb(236, 92, 210)
HSLhsl(311, 79%, 64%)
HSVhsv(311, 61%, 93%)
CMYKcmyk(0%, 61%, 11%, 7.5%)
CIE-LABlab(61.78, 68.52, -33.56)
CIE-LCHlch(61.78, 76.29, 333.91°)
OKLaboklab(69.91% 0.1995 -0.0912)
OKLCHoklch(69.91% 0.219 335.4)
XYZxyz(50.0525, 30.1443, 64.1425)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD2 #5CEC76
analogous
#BE5CEC #EC5CD2 #EC5C8A
triadic
#EC5CD2 #D2EC5C #5CD2EC
tetradic
#EC5CD2 #ECBE5C #5CEC76 #5C8AEC
square
#EC5CD2 #ECBE5C #5CEC76 #5C8AEC
split-complementary
#EC5CD2 #8AEC5C #5CECBE
monochromatic
#B8159B #E625C3 #EC5CD2 #F293E1 #F9CAF0

Accessibility & contrast

On white

2.99
#EC5CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#EC5CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD2#FFFFFF#000000##000000
##EC5CD21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D6
Deuteranopia (green-blind)
#8A9DCE
Tritanopia (blue-blind)
#F7658F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5cd2;
/* rgb */ color: rgb(236, 92, 210);
/* oklch */ color: oklch(69.9% 0.219 335.4);
Tailwind
colors: {
  custom: {
    50: '#f592e0',
    500: '#ec5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd2;
$custom-light: #f592e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd2",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 310.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.21937,
    "h": 335.4
  },
  "luminance": 0.3014
}

Semantic roles & 50–950 ramp

primary
#EC5CD2
secondary
#B9EBC2
accent
#DB300A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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