#EC79C7#EC79C7

#EC79C7 is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.1% C 0.168 H 341.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#EC79C7
RGBrgb(236, 121, 199)
HSLhsl(319, 75%, 70%)
HSVhsv(319, 49%, 93%)
CMYKcmyk(0%, 48.7%, 15.7%, 7.5%)
CIE-LABlab(66.24, 53.77, -20.50)
CIE-LCHlch(66.24, 57.54, 339.13°)
OKLaboklab(73.07% 0.1586 -0.0547)
OKLCHoklch(73.07% 0.168 341)
XYZxyz(51.7390, 35.6349, 58.1749)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C7 #79EC9E
analogous
#D779EC #EC79C7 #EC798E
triadic
#EC79C7 #C7EC79 #79C7EC
tetradic
#EC79C7 #ECD779 #79EC9E #798EEC
square
#EC79C7 #ECD779 #79EC9E #798EEC
split-complementary
#EC79C7 #8EEC79 #79ECD7
monochromatic
#CD1D95 #E443B1 #EC79C7 #F4AFDD #FBE4F4

Accessibility & contrast

On white

2.58
#EC79C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#EC79C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C7#FFFFFF#000000##000000
##EC79C71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F96CA
Deuteranopia (green-blind)
#9EA8C4
Tritanopia (blue-blind)
#F87B97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec79c7;
/* rgb */ color: rgb(236, 121, 199);
/* oklch */ color: oklch(73.1% 0.168 341.0);
Tailwind
colors: {
  custom: {
    50: '#f4a3d8',
    500: '#ec79c7',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c7;
$custom-light: #f4a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c7",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 319.304,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73066,
    "c": 0.16782,
    "h": 341
  },
  "luminance": 0.35631
}

Semantic roles & 50–950 ramp

primary
#EC79C7
secondary
#D0F0DB
accent
#D74F0E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC79C7

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

Preview Lab → · Contrast checker → · Palette generator →

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