#EC5CD4#EC5CD4

#EC5CD4 is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.0% C 0.221 H 334.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#EC5CD4
RGBrgb(236, 92, 212)
HSLhsl(310, 79%, 64%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 61%, 10.2%, 7.5%)
CIE-LABlab(61.86, 68.82, -34.55)
CIE-LCHlch(61.86, 77.00, 333.34°)
OKLaboklab(70% 0.1998 -0.0941)
OKLCHoklch(70% 0.221 334.8)
XYZxyz(50.3032, 30.2446, 65.4630)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CD4 #5CEC74
analogous
#BC5CEC #EC5CD4 #EC5C8C
triadic
#EC5CD4 #D4EC5C #5CD4EC
tetradic
#EC5CD4 #ECBC5C #5CEC74 #5C8CEC
square
#EC5CD4 #ECBC5C #5CEC74 #5C8CEC
split-complementary
#EC5CD4 #8CEC5C #5CECBC
monochromatic
#B8159D #E625C6 #EC5CD4 #F293E2 #F9CAF1

Accessibility & contrast

On white

2.98
#EC5CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#EC5CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CD4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CD4#FFFFFF#000000##000000
##EC5CD41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D8
Deuteranopia (green-blind)
#899DD0
Tritanopia (blue-blind)
#F76590
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec5cd4;
/* rgb */ color: rgb(236, 92, 212);
/* oklch */ color: oklch(70.0% 0.221 334.8);
Tailwind
colors: {
  custom: {
    50: '#f592e1',
    500: '#ec5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cd4;
$custom-light: #f592e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cd4",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 310,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.7,
    "c": 0.22083,
    "h": 334.8
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#EC5CD4
secondary
#B9EBC1
accent
#DB2D0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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