#EC79C8#EC79C8

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

Color values

HEX#EC79C8
RGBrgb(236, 121, 200)
HSLhsl(319, 75%, 70%)
HSVhsv(319, 49%, 93%)
CMYKcmyk(0%, 48.7%, 15.3%, 7.5%)
CIE-LABlab(66.28, 53.92, -21.00)
CIE-LCHlch(66.28, 57.87, 338.72°)
OKLaboklab(73.1% 0.1589 -0.0561)
OKLCHoklch(73.1% 0.169 340.5)
XYZxyz(51.8554, 35.6815, 58.7884)
Luminance0.3568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C8 #79EC9D
analogous
#D779EC #EC79C8 #EC798E
triadic
#EC79C8 #C8EC79 #79C8EC
tetradic
#EC79C8 #ECD779 #79EC9D #798EEC
square
#EC79C8 #ECD779 #79EC9D #798EEC
split-complementary
#EC79C8 #8EEC79 #79ECD7
monochromatic
#CD1D96 #E443B2 #EC79C8 #F4AFDE #FBE4F4

Accessibility & contrast

On white

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

On black

8.14
#EC79C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C8#FFFFFF#000000##000000
##EC79C81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec79c8;
/* rgb */ color: rgb(236, 121, 200);
/* oklch */ color: oklch(73.1% 0.169 340.5);
Tailwind
colors: {
  custom: {
    50: '#f4a3d8',
    500: '#ec79c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c8;
$custom-light: #f4a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c8",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 318.783,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.16852,
    "h": 340.5
  },
  "luminance": 0.35678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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