#EC4CD2#EC4CD2

#EC4CD2 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.3% C 0.240 H 335.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#EC4CD2
RGBrgb(236, 76, 210)
HSLhsl(310, 81%, 61%)
HSVhsv(310, 68%, 93%)
CMYKcmyk(0%, 67.8%, 11%, 7.5%)
CIE-LABlab(59.58, 74.63, -36.99)
CIE-LCHlch(59.58, 83.29, 333.64°)
OKLaboklab(68.31% 0.2175 -0.1009)
OKLCHoklch(68.31% 0.24 335.1)
XYZxyz(48.8099, 27.6591, 63.7283)
Luminance0.2766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4CD2 #4CEC66
analogous
#B64CEC #EC4CD2 #EC4C82
triadic
#EC4CD2 #D2EC4C #4CD2EC
tetradic
#EC4CD2 #ECB64C #4CEC66 #4C82EC
square
#EC4CD2 #ECB64C #4CEC66 #4C82EC
split-complementary
#EC4CD2 #82EC4C #4CECB6
monochromatic
#AB1293 #E318C2 #EC4CD2 #F283E0 #F8BBEE

Accessibility & contrast

On white

3.22
#EC4CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#EC4CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4CD2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4CD2#FFFFFF#000000##000000
##EC4CD21.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#8298CE
Tritanopia (blue-blind)
#F75889
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4cd2;
/* rgb */ color: rgb(236, 76, 210);
/* oklch */ color: oklch(68.3% 0.240 335.1);
Tailwind
colors: {
  custom: {
    50: '#f68ae0',
    500: '#ec4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ec4cd2;
$custom-light: #f68ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4cd2",
  "rgb": {
    "r": 236,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 309.75,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.23977,
    "h": 335.1
  },
  "luminance": 0.27655
}

Semantic roles & 50–950 ramp

primary
#EC4CD2
secondary
#ACE8B6
accent
#DD2B08
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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