#EC79D6#EC79D6

#EC79D6 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.7% C 0.179 H 334.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EC79D6
RGBrgb(236, 121, 214)
HSLhsl(311, 75%, 70%)
HSVhsv(311, 49%, 93%)
CMYKcmyk(0%, 48.7%, 9.3%, 7.5%)
CIE-LABlab(66.80, 56.11, -28.03)
CIE-LCHlch(66.80, 62.73, 333.46°)
OKLaboklab(73.67% 0.1621 -0.0758)
OKLCHoklch(73.67% 0.179 334.9)
XYZxyz(53.5671, 36.3662, 67.8032)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D6 #79EC8F
analogous
#C879EC #EC79D6 #EC799D
triadic
#EC79D6 #D6EC79 #79D6EC
tetradic
#EC79D6 #ECC879 #79EC8F #799DEC
square
#EC79D6 #ECC879 #79EC8F #799DEC
split-complementary
#EC79D6 #9DEC79 #79ECC8
monochromatic
#CD1DAC #E443C6 #EC79D6 #F4AFE6 #FBE4F7

Accessibility & contrast

On white

2.54
#EC79D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#EC79D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D6
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D6#FFFFFF#000000##000000
##EC79D61.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998D9
Deuteranopia (green-blind)
#99A9D3
Tritanopia (blue-blind)
#F67F9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d6;
/* rgb */ color: rgb(236, 121, 214);
/* oklch */ color: oklch(73.7% 0.179 334.9);
Tailwind
colors: {
  custom: {
    50: '#f4a3e3',
    500: '#ec79d6',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d6;
$custom-light: #f4a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d6",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 214
  },
  "hsl": {
    "h": 311.478,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.17899,
    "h": 334.9
  },
  "luminance": 0.36363
}

Semantic roles & 50–950 ramp

primary
#EC79D6
secondary
#D0F0D6
accent
#D7350E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79D6

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

Preview Lab → · Contrast checker → · Palette generator →

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