#EC5EC4#EC5EC4

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

Color values

HEX#EC5EC4
RGBrgb(236, 94, 196)
HSLhsl(317, 79%, 65%)
HSVhsv(317, 60%, 93%)
CMYKcmyk(0%, 60.2%, 16.9%, 7.5%)
CIE-LABlab(61.51, 65.64, -26.05)
CIE-LCHlch(61.51, 70.62, 338.35°)
OKLaboklab(69.52% 0.1946 -0.07)
OKLCHoklch(69.52% 0.207 340.2)
XYZxyz(48.5596, 29.8280, 55.4137)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EC4 #5EEC86
analogous
#CD5EEC #EC5EC4 #EC5E7D
triadic
#EC5EC4 #C4EC5E #5EC4EC
tetradic
#EC5EC4 #ECCD5E #5EEC86 #5E7DEC
square
#EC5EC4 #ECCD5E #5EEC86 #5E7DEC
split-complementary
#EC5EC4 #7DEC5E #5EECCD
monochromatic
#BA168C #E627B0 #EC5EC4 #F295D8 #F9CBEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5EC4#FFFFFF#000000##000000
##EC5EC41.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)
#6686C7
Deuteranopia (green-blind)
#909DC0
Tritanopia (blue-blind)
#F96189
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ec5ec4;
/* rgb */ color: rgb(236, 94, 196);
/* oklch */ color: oklch(69.5% 0.207 340.2);
Tailwind
colors: {
  custom: {
    50: '#f593d6',
    500: '#ec5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ec4;
$custom-light: #f593d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ec4",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 316.901,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.20685,
    "h": 340.2
  },
  "luminance": 0.29824
}

Semantic roles & 50–950 ramp

primary
#EC5EC4
secondary
#BBEBC8
accent
#DB450A
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180E14
muted
#867E83

Preview Lab

Preview with #EC5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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