#EC79D5#EC79D5

#EC79D5 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.6% C 0.178 H 335.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#EC79D5
RGBrgb(236, 121, 213)
HSLhsl(312, 75%, 70%)
HSVhsv(312, 49%, 93%)
CMYKcmyk(0%, 48.7%, 9.7%, 7.5%)
CIE-LABlab(66.76, 55.95, -27.53)
CIE-LCHlch(66.76, 62.36, 333.80°)
OKLaboklab(73.63% 0.1619 -0.0744)
OKLCHoklch(73.63% 0.178 335.3)
XYZxyz(53.4398, 36.3152, 67.1327)
Luminance0.3631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D5 #79EC90
analogous
#C979EC #EC79D5 #EC799C
triadic
#EC79D5 #D5EC79 #79D5EC
tetradic
#EC79D5 #ECC979 #79EC90 #799CEC
square
#EC79D5 #ECC979 #79EC90 #799CEC
split-complementary
#EC79D5 #9CEC79 #79ECC9
monochromatic
#CD1DAA #E443C4 #EC79D5 #F4AFE6 #FBE4F7

Accessibility & contrast

On white

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

On black

8.26
#EC79D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D5#FFFFFF#000000##000000
##EC79D51.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7998D8
Deuteranopia (green-blind)
#9AA9D2
Tritanopia (blue-blind)
#F67E9D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d5;
/* rgb */ color: rgb(236, 121, 213);
/* oklch */ color: oklch(73.6% 0.178 335.3);
Tailwind
colors: {
  custom: {
    50: '#f4a3e2',
    500: '#ec79d5',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d5;
$custom-light: #f4a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d5",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 312,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.17821,
    "h": 335.3
  },
  "luminance": 0.36312
}

Semantic roles & 50–950 ramp

primary
#EC79D5
secondary
#D0F0D7
accent
#D7360E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79D5

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

Preview Lab → · Contrast checker → · Palette generator →

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