#EC79C3#EC79C3

#EC79C3 is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.9% C 0.165 H 342.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#EC79C3
RGBrgb(236, 121, 195)
HSLhsl(321, 75%, 70%)
HSVhsv(321, 49%, 93%)
CMYKcmyk(0%, 48.7%, 17.4%, 7.5%)
CIE-LABlab(66.10, 53.17, -18.46)
CIE-LCHlch(66.10, 56.28, 340.85°)
OKLaboklab(72.91% 0.1576 -0.0491)
OKLCHoklch(72.91% 0.165 342.7)
XYZxyz(51.2806, 35.4516, 55.7611)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C3 #79ECA2
analogous
#DB79EC #EC79C3 #EC798A
triadic
#EC79C3 #C3EC79 #79C3EC
tetradic
#EC79C3 #ECDB79 #79ECA2 #798AEC
square
#EC79C3 #ECDB79 #79ECA2 #798AEC
split-complementary
#EC79C3 #8AEC79 #79ECDB
monochromatic
#CD1D8F #E443AB #EC79C3 #F4AFDB #FBE4F3

Accessibility & contrast

On white

2.60
#EC79C3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#EC79C3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C3#FFFFFF#000000##000000
##EC79C31.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#9FA8C0
Tritanopia (blue-blind)
#F87995
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec79c3;
/* rgb */ color: rgb(236, 121, 195);
/* oklch */ color: oklch(72.9% 0.165 342.7);
Tailwind
colors: {
  custom: {
    50: '#f4a3d5',
    500: '#ec79c3',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c3;
$custom-light: #f4a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c3",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 195
  },
  "hsl": {
    "h": 321.391,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.16508,
    "h": 342.7
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79C3

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

Preview Lab → · Contrast checker → · Palette generator →

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