#EC5ED2#EC5ED2

#EC5ED2 is a light, highly saturated pink. Relative luminance 0.305; OKLCH L 70.1% C 0.217 H 335.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#EC5ED2
RGBrgb(236, 94, 210)
HSLhsl(311, 79%, 65%)
HSVhsv(311, 60%, 93%)
CMYKcmyk(0%, 60.2%, 11%, 7.5%)
CIE-LABlab(62.08, 67.69, -33.09)
CIE-LCHlch(62.08, 75.35, 333.95°)
OKLaboklab(70.13% 0.1971 -0.0899)
OKLCHoklch(70.13% 0.217 335.5)
XYZxyz(50.2281, 30.4954, 64.2010)
Luminance0.3049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5ED2 #5EEC78
analogous
#BF5EEC #EC5ED2 #EC5E8B
triadic
#EC5ED2 #D2EC5E #5ED2EC
tetradic
#EC5ED2 #ECBF5E #5EEC78 #5E8BEC
square
#EC5ED2 #ECBF5E #5EEC78 #5E8BEC
split-complementary
#EC5ED2 #8BEC5E #5EECBF
monochromatic
#BA169C #E627C3 #EC5ED2 #F295E1 #F9CBF1

Accessibility & contrast

On white

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

On black

7.10
#EC5ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5ED2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5ED2#FFFFFF#000000##000000
##EC5ED21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5ed2;
/* rgb */ color: rgb(236, 94, 210);
/* oklch */ color: oklch(70.1% 0.217 335.5);
Tailwind
colors: {
  custom: {
    50: '#f593e0',
    500: '#ec5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ed2;
$custom-light: #f593e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ed2",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 310.986,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70129,
    "c": 0.21662,
    "h": 335.5
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#EC5ED2
secondary
#BBEBC3
accent
#DB310A
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #EC5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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