#EC4EC5#EC4EC5

#EC4EC5 is a light, highly saturated pink. Relative luminance 0.273; OKLCH L 67.9% C 0.229 H 339.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#EC4EC5
RGBrgb(236, 78, 197)
HSLhsl(315, 81%, 62%)
HSVhsv(315, 67%, 93%)
CMYKcmyk(0%, 66.9%, 16.5%, 7.5%)
CIE-LABlab(59.27, 72.07, -30.08)
CIE-LCHlch(59.27, 78.09, 337.35°)
OKLaboklab(67.9% 0.2137 -0.0812)
OKLCHoklch(67.9% 0.229 339.2)
XYZxyz(47.3956, 27.3172, 55.5891)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EC5 #4EEC75
analogous
#C44EEC #EC4EC5 #EC4E76
triadic
#EC4EC5 #C5EC4E #4EC5EC
tetradic
#EC4EC5 #ECC44E #4EEC75 #4E76EC
square
#EC4EC5 #ECC44E #4EEC75 #4E76EC
split-complementary
#EC4EC5 #76EC4E #4EECC4
monochromatic
#AD1387 #E419B2 #EC4EC5 #F285D7 #F8BDE9

Accessibility & contrast

On white

3.25
#EC4EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EC4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EC5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EC5#FFFFFF#000000##000000
##EC4EC51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC8
Deuteranopia (green-blind)
#8898C1
Tritanopia (blue-blind)
#F95383
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4ec5;
/* rgb */ color: rgb(236, 78, 197);
/* oklch */ color: oklch(67.9% 0.229 339.2);
Tailwind
colors: {
  custom: {
    50: '#f68bd7',
    500: '#ec4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ec5;
$custom-light: #f68bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ec5",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 314.81,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.22862,
    "h": 339.2
  },
  "luminance": 0.27313
}

Semantic roles & 50–950 ramp

primary
#EC4EC5
secondary
#AEE8BC
accent
#DD3D09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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