#EC79C9#EC79C9

#EC79C9 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.1% C 0.169 H 340.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC79C9
RGBrgb(236, 121, 201)
HSLhsl(318, 75%, 70%)
HSVhsv(318, 49%, 93%)
CMYKcmyk(0%, 48.7%, 14.8%, 7.5%)
CIE-LABlab(66.31, 54.07, -21.51)
CIE-LCHlch(66.31, 58.20, 338.31°)
OKLaboklab(73.14% 0.1591 -0.0575)
OKLCHoklch(73.14% 0.169 340.1)
XYZxyz(51.9727, 35.7284, 59.4059)
Luminance0.3573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C9 #79EC9C
analogous
#D679EC #EC79C9 #EC798F
triadic
#EC79C9 #C9EC79 #79C9EC
tetradic
#EC79C9 #ECD679 #79EC9C #798FEC
square
#EC79C9 #ECD679 #79EC9C #798FEC
split-complementary
#EC79C9 #8FEC79 #79ECD6
monochromatic
#CD1D98 #E443B3 #EC79C9 #F4AFDF #FBE4F4

Accessibility & contrast

On white

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

On black

8.15
#EC79C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C9#FFFFFF#000000##000000
##EC79C91.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CC
Deuteranopia (green-blind)
#9DA8C6
Tritanopia (blue-blind)
#F77B98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec79c9;
/* rgb */ color: rgb(236, 121, 201);
/* oklch */ color: oklch(73.1% 0.169 340.1);
Tailwind
colors: {
  custom: {
    50: '#f4a3d9',
    500: '#ec79c9',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c9;
$custom-light: #f4a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c9",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 201
  },
  "hsl": {
    "h": 318.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73143,
    "c": 0.16923,
    "h": 340.1
  },
  "luminance": 0.35725
}

Semantic roles & 50–950 ramp

primary
#EC79C9
secondary
#D0F0DA
accent
#D74B0E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC79C9

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

Preview Lab → · Contrast checker → · Palette generator →

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