#EC79CC#EC79CC

#EC79CC is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.3% C 0.171 H 338.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#EC79CC
RGBrgb(236, 121, 204)
HSLhsl(317, 75%, 70%)
HSVhsv(317, 49%, 93%)
CMYKcmyk(0%, 48.7%, 13.6%, 7.5%)
CIE-LABlab(66.42, 54.54, -23.02)
CIE-LCHlch(66.42, 59.20, 337.11°)
OKLaboklab(73.26% 0.1599 -0.0618)
OKLCHoklch(73.26% 0.171 338.9)
XYZxyz(52.3290, 35.8709, 61.2827)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79CC #79EC99
analogous
#D379EC #EC79CC #EC7992
triadic
#EC79CC #CCEC79 #79CCEC
tetradic
#EC79CC #ECD379 #79EC99 #7992EC
square
#EC79CC #ECD379 #79EC99 #7992EC
split-complementary
#EC79CC #92EC79 #79ECD3
monochromatic
#CD1D9C #E443B8 #EC79CC #F4AFE0 #FBE4F5

Accessibility & contrast

On white

2.57
#EC79CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#EC79CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79CC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79CC#FFFFFF#000000##000000
##EC79CC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CF
Deuteranopia (green-blind)
#9DA8C9
Tritanopia (blue-blind)
#F77C99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec79cc;
/* rgb */ color: rgb(236, 121, 204);
/* oklch */ color: oklch(73.3% 0.171 338.9);
Tailwind
colors: {
  custom: {
    50: '#f4a3db',
    500: '#ec79cc',
    950: '#000000',
  },
}
SCSS
$custom: #ec79cc;
$custom-light: #f4a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79cc",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 316.696,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73261,
    "c": 0.17139,
    "h": 338.9
  },
  "luminance": 0.35867
}

Semantic roles & 50–950 ramp

primary
#EC79CC
secondary
#D0F0D9
accent
#D7460E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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