#EC4EC8#EC4EC8

#EC4EC8 is a light, highly saturated pink. Relative luminance 0.275; OKLCH L 68.0% C 0.231 H 338.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#EC4EC8
RGBrgb(236, 78, 200)
HSLhsl(314, 81%, 62%)
HSVhsv(314, 67%, 93%)
CMYKcmyk(0%, 66.9%, 15.3%, 7.5%)
CIE-LABlab(59.39, 72.48, -31.59)
CIE-LCHlch(59.39, 79.07, 336.45°)
OKLaboklab(68.03% 0.2142 -0.0855)
OKLCHoklch(68.03% 0.231 338.2)
XYZxyz(47.7427, 27.4561, 57.4175)
Luminance0.2745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EC8 #4EEC72
analogous
#C14EEC #EC4EC8 #EC4E79
triadic
#EC4EC8 #C8EC4E #4EC8EC
tetradic
#EC4EC8 #ECC14E #4EEC72 #4E79EC
square
#EC4EC8 #ECC14E #4EEC72 #4E79EC
split-complementary
#EC4EC8 #79EC4E #4EECC1
monochromatic
#AD138A #E419B6 #EC4EC8 #F285D9 #F8BDEA

Accessibility & contrast

On white

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

On black

6.49
#EC4EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EC8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EC8#FFFFFF#000000##000000
##EC4EC81.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#8798C4
Tritanopia (blue-blind)
#F95584
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4ec8;
/* rgb */ color: rgb(236, 78, 200);
/* oklch */ color: oklch(68.0% 0.231 338.2);
Tailwind
colors: {
  custom: {
    50: '#f68bd9',
    500: '#ec4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ec8;
$custom-light: #f68bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ec8",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 313.671,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.68029,
    "c": 0.2306,
    "h": 338.2
  },
  "luminance": 0.27452
}

Semantic roles & 50–950 ramp

primary
#EC4EC8
secondary
#AEE8BB
accent
#DD3909
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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