#EC79A7#EC79A7

#EC79A7 is a light, vivid pink. Relative luminance 0.343; OKLCH L 71.9% C 0.150 H 356.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#EC79A7
RGBrgb(236, 121, 167)
HSLhsl(336, 75%, 70%)
HSVhsv(336, 49%, 93%)
CMYKcmyk(0%, 48.7%, 29.2%, 7.5%)
CIE-LABlab(65.20, 49.29, -3.98)
CIE-LCHlch(65.20, 49.45, 355.39°)
OKLaboklab(71.95% 0.1493 -0.0098)
OKLCHoklch(71.95% 0.15 356.2)
XYZxyz(48.4064, 34.3019, 40.6232)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A7 #79ECBE
analogous
#EC79E0 #EC79A7 #EC8579
triadic
#EC79A7 #A7EC79 #79A7EC
tetradic
#EC79A7 #E0EC79 #79ECBE #8579EC
square
#EC79A7 #E0EC79 #79ECBE #8579EC
split-complementary
#EC79A7 #79EC85 #79E0EC
monochromatic
#CD1D64 #E44384 #EC79A7 #F4AFCA #FBE4ED

Accessibility & contrast

On white

2.67
#EC79A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#EC79A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A7#FFFFFF#000000##000000
##EC79A71.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#A7A6A4
Tritanopia (blue-blind)
#FC728A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a7;
/* rgb */ color: rgb(236, 121, 167);
/* oklch */ color: oklch(71.9% 0.150 356.2);
Tailwind
colors: {
  custom: {
    50: '#f5a3c1',
    500: '#ec79a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a7;
$custom-light: #f5a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a7",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 167
  },
  "hsl": {
    "h": 336,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.14961,
    "h": 356.2
  },
  "luminance": 0.34298
}

Semantic roles & 50–950 ramp

primary
#EC79A7
secondary
#D0F0E4
accent
#D7870E
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC79A7

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

Preview Lab → · Contrast checker → · Palette generator →

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