#EC79C4#EC79C4

#EC79C4 is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.0% C 0.166 H 342.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#EC79C4
RGBrgb(236, 121, 196)
HSLhsl(321, 75%, 70%)
HSVhsv(321, 49%, 93%)
CMYKcmyk(0%, 48.7%, 16.9%, 7.5%)
CIE-LABlab(66.13, 53.32, -18.97)
CIE-LCHlch(66.13, 56.59, 340.41°)
OKLaboklab(72.95% 0.1579 -0.0505)
OKLCHoklch(72.95% 0.166 342.3)
XYZxyz(51.3941, 35.4970, 56.3586)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C4 #79ECA1
analogous
#DB79EC #EC79C4 #EC798A
triadic
#EC79C4 #C4EC79 #79C4EC
tetradic
#EC79C4 #ECDB79 #79ECA1 #798AEC
square
#EC79C4 #ECDB79 #79ECA1 #798AEC
split-complementary
#EC79C4 #8AEC79 #79ECDB
monochromatic
#CD1D90 #E443AC #EC79C4 #F4AFDC #FBE4F3

Accessibility & contrast

On white

2.59
#EC79C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#EC79C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C4#FFFFFF#000000##000000
##EC79C41.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C7
Deuteranopia (green-blind)
#9FA8C1
Tritanopia (blue-blind)
#F87A96
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec79c4;
/* rgb */ color: rgb(236, 121, 196);
/* oklch */ color: oklch(73.0% 0.166 342.3);
Tailwind
colors: {
  custom: {
    50: '#f4a3d6',
    500: '#ec79c4',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c4;
$custom-light: #f4a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c4",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 196
  },
  "hsl": {
    "h": 320.87,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72952,
    "c": 0.16575,
    "h": 342.3
  },
  "luminance": 0.35493
}

Semantic roles & 50–950 ramp

primary
#EC79C4
secondary
#D0F0DC
accent
#D7540E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC79C4

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

Preview Lab → · Contrast checker → · Palette generator →

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