#EC4EC7#EC4EC7

#EC4EC7 is a light, highly saturated pink. Relative luminance 0.274; OKLCH L 68.0% C 0.230 H 338.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EC4EC7
RGBrgb(236, 78, 199)
HSLhsl(314, 81%, 62%)
HSVhsv(314, 67%, 93%)
CMYKcmyk(0%, 66.9%, 15.7%, 7.5%)
CIE-LABlab(59.35, 72.35, -31.09)
CIE-LCHlch(59.35, 78.74, 336.75°)
OKLaboklab(67.99% 0.214 -0.0841)
OKLCHoklch(67.99% 0.23 338.5)
XYZxyz(47.6262, 27.4095, 56.8040)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4EC7 #4EEC73
analogous
#C24EEC #EC4EC7 #EC4E78
triadic
#EC4EC7 #C7EC4E #4EC7EC
tetradic
#EC4EC7 #ECC24E #4EEC73 #4E78EC
square
#EC4EC7 #ECC24E #4EEC73 #4E78EC
split-complementary
#EC4EC7 #78EC4E #4EECC2
monochromatic
#AD1389 #E419B5 #EC4EC7 #F285D8 #F8BDEA

Accessibility & contrast

On white

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

On black

6.48
#EC4EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4EC7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4EC7#FFFFFF#000000##000000
##EC4EC71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#8798C3
Tritanopia (blue-blind)
#F95484
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4ec7;
/* rgb */ color: rgb(236, 78, 199);
/* oklch */ color: oklch(68.0% 0.230 338.5);
Tailwind
colors: {
  custom: {
    50: '#f68bd8',
    500: '#ec4ec7',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ec7;
$custom-light: #f68bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ec7",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 314.051,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67985,
    "c": 0.22994,
    "h": 338.5
  },
  "luminance": 0.27405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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