#EC5DD2#EC5DD2

#EC5DD2 is a light, highly saturated pink. Relative luminance 0.303; OKLCH L 70.0% C 0.218 H 335.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#EC5DD2
RGBrgb(236, 93, 210)
HSLhsl(311, 79%, 65%)
HSVhsv(311, 61%, 93%)
CMYKcmyk(0%, 60.6%, 11%, 7.5%)
CIE-LABlab(61.93, 68.11, -33.32)
CIE-LCHlch(61.93, 75.82, 333.93°)
OKLaboklab(70.02% 0.1983 -0.0906)
OKLCHoklch(70.02% 0.218 335.4)
XYZxyz(50.1397, 30.3187, 64.1716)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5DD2 #5DEC77
analogous
#BF5DEC #EC5DD2 #EC5D8B
triadic
#EC5DD2 #D2EC5D #5DD2EC
tetradic
#EC5DD2 #ECBF5D #5DEC77 #5D8BEC
square
#EC5DD2 #ECBF5D #5DEC77 #5D8BEC
split-complementary
#EC5DD2 #8BEC5D #5DECBF
monochromatic
#B9169B #E626C3 #EC5DD2 #F294E1 #F9CBF0

Accessibility & contrast

On white

2.97
#EC5DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#EC5DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5DD2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5DD2#FFFFFF#000000##000000
##EC5DD21.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5dd2;
/* rgb */ color: rgb(236, 93, 210);
/* oklch */ color: oklch(70.0% 0.218 335.4);
Tailwind
colors: {
  custom: {
    50: '#f593e0',
    500: '#ec5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5dd2;
$custom-light: #f593e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5dd2",
  "rgb": {
    "r": 236,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 310.909,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70018,
    "c": 0.218,
    "h": 335.4
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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