#EC5DD4#EC5DD4

#EC5DD4 is a light, highly saturated pink. Relative luminance 0.304; OKLCH L 70.1% C 0.219 H 334.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#EC5DD4
RGBrgb(236, 93, 212)
HSLhsl(310, 79%, 65%)
HSVhsv(310, 61%, 93%)
CMYKcmyk(0%, 60.6%, 10.2%, 7.5%)
CIE-LABlab(62.01, 68.41, -34.32)
CIE-LCHlch(62.01, 76.53, 333.36°)
OKLaboklab(70.11% 0.1986 -0.0934)
OKLCHoklch(70.11% 0.219 334.8)
XYZxyz(50.3904, 30.4190, 65.4921)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DD4 #5DEC75
analogous
#BD5DEC #EC5DD4 #EC5D8D
triadic
#EC5DD4 #D4EC5D #5DD4EC
tetradic
#EC5DD4 #ECBD5D #5DEC75 #5D8DEC
square
#EC5DD4 #ECBD5D #5DEC75 #5D8DEC
split-complementary
#EC5DD4 #8DEC5D #5DECBD
monochromatic
#B9169E #E626C5 #EC5DD4 #F294E3 #F9CBF1

Accessibility & contrast

On white

2.96
#EC5DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#EC5DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DD4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DD4#FFFFFF#000000##000000
##EC5DD41.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#F76690
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec5dd4;
/* rgb */ color: rgb(236, 93, 212);
/* oklch */ color: oklch(70.1% 0.219 334.8);
Tailwind
colors: {
  custom: {
    50: '#f593e1',
    500: '#ec5dd4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5dd4;
$custom-light: #f593e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5dd4",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 310.07,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70109,
    "c": 0.21946,
    "h": 334.8
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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