#EC5AD2#EC5AD2

#EC5AD2 is a light, highly saturated pink. Relative luminance 0.298; OKLCH L 69.7% C 0.222 H 335.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#EC5AD2
RGBrgb(236, 90, 210)
HSLhsl(311, 79%, 64%)
HSVhsv(311, 62%, 93%)
CMYKcmyk(0%, 61.9%, 11%, 7.5%)
CIE-LABlab(61.48, 69.33, -34.02)
CIE-LCHlch(61.48, 77.22, 333.86°)
OKLaboklab(69.69% 0.2019 -0.0925)
OKLCHoklch(69.69% 0.222 335.4)
XYZxyz(49.8816, 29.8024, 64.0855)
Luminance0.2980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AD2 #5AEC74
analogous
#BD5AEC #EC5AD2 #EC5A89
triadic
#EC5AD2 #D2EC5A #5AD2EC
tetradic
#EC5AD2 #ECBD5A #5AEC74 #5A89EC
square
#EC5AD2 #ECBD5A #5AEC74 #5A89EC
split-complementary
#EC5AD2 #89EC5A #5AECBD
monochromatic
#B7159A #E623C3 #EC5AD2 #F291E1 #F9C8F0

Accessibility & contrast

On white

3.02
#EC5AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#EC5AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AD2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AD2#FFFFFF#000000##000000
##EC5AD21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D6
Deuteranopia (green-blind)
#899CCE
Tritanopia (blue-blind)
#F7638E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5ad2;
/* rgb */ color: rgb(236, 90, 210);
/* oklch */ color: oklch(69.7% 0.222 335.4);
Tailwind
colors: {
  custom: {
    50: '#f691e0',
    500: '#ec5ad2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ad2;
$custom-light: #f691e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ad2",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 310.685,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69693,
    "c": 0.22208,
    "h": 335.4
  },
  "luminance": 0.29798
}

Semantic roles & 50–950 ramp

primary
#EC5AD2
secondary
#B7EBC0
accent
#DC2F0A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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