#EC79D8#EC79D8

#EC79D8 is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.8% C 0.181 H 334.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#EC79D8
RGBrgb(236, 121, 216)
HSLhsl(310, 75%, 70%)
HSVhsv(310, 49%, 93%)
CMYKcmyk(0%, 48.7%, 8.5%, 7.5%)
CIE-LABlab(66.88, 56.44, -29.03)
CIE-LCHlch(66.88, 63.47, 332.78°)
OKLaboklab(73.75% 0.1626 -0.0786)
OKLCHoklch(73.75% 0.181 334.2)
XYZxyz(53.8241, 36.4690, 69.1567)
Luminance0.3646 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D8 #79EC8D
analogous
#C779EC #EC79D8 #EC799E
triadic
#EC79D8 #D8EC79 #79D8EC
tetradic
#EC79D8 #ECC779 #79EC8D #799EEC
square
#EC79D8 #ECC779 #79EC8D #799EEC
split-complementary
#EC79D8 #9EEC79 #79ECC7
monochromatic
#CD1DAF #E443C8 #EC79D8 #F4AFE8 #FBE4F7

Accessibility & contrast

On white

2.53
#EC79D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#EC79D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D8#FFFFFF#000000##000000
##EC79D81.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DB
Deuteranopia (green-blind)
#98A9D5
Tritanopia (blue-blind)
#F57F9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec79d8;
/* rgb */ color: rgb(236, 121, 216);
/* oklch */ color: oklch(73.8% 0.181 334.2);
Tailwind
colors: {
  custom: {
    50: '#f4a3e4',
    500: '#ec79d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d8;
$custom-light: #f4a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d8",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 216
  },
  "hsl": {
    "h": 310.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.7375,
    "c": 0.18057,
    "h": 334.2
  },
  "luminance": 0.36465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79D8

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

Preview Lab → · Contrast checker → · Palette generator →

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