#EC4EC6#EC4EC6

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

Color values

HEX#EC4EC6
RGBrgb(236, 78, 198)
HSLhsl(314, 81%, 62%)
HSVhsv(314, 67%, 93%)
CMYKcmyk(0%, 66.9%, 16.1%, 7.5%)
CIE-LABlab(59.31, 72.21, -30.58)
CIE-LCHlch(59.31, 78.42, 337.05°)
OKLaboklab(67.94% 0.2139 -0.0827)
OKLCHoklch(67.94% 0.229 338.9)
XYZxyz(47.5105, 27.3632, 56.1946)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EC6 #4EEC74
analogous
#C34EEC #EC4EC6 #EC4E77
triadic
#EC4EC6 #C6EC4E #4EC6EC
tetradic
#EC4EC6 #ECC34E #4EEC74 #4E77EC
square
#EC4EC6 #ECC34E #4EEC74 #4E77EC
split-complementary
#EC4EC6 #77EC4E #4EECC3
monochromatic
#AD1388 #E419B3 #EC4EC6 #F285D8 #F8BDEA

Accessibility & contrast

On white

3.24
#EC4EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#EC4EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EC6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EC6#FFFFFF#000000##000000
##EC4EC61.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#8898C2
Tritanopia (blue-blind)
#F95483
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4ec6;
/* rgb */ color: rgb(236, 78, 198);
/* oklch */ color: oklch(67.9% 0.229 338.9);
Tailwind
colors: {
  custom: {
    50: '#f68bd7',
    500: '#ec4ec6',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ec6;
$custom-light: #f68bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ec6",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 314.43,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6794,
    "c": 0.22928,
    "h": 338.9
  },
  "luminance": 0.27359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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