#EC79A6#EC79A6

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

Color values

HEX#EC79A6
RGBrgb(236, 121, 166)
HSLhsl(337, 75%, 70%)
HSVhsv(337, 49%, 93%)
CMYKcmyk(0%, 48.7%, 29.7%, 7.5%)
CIE-LABlab(65.17, 49.16, -3.45)
CIE-LCHlch(65.17, 49.28, 355.98°)
OKLaboklab(71.91% 0.149 -0.0084)
OKLCHoklch(71.91% 0.149 356.8)
XYZxyz(48.3143, 34.2650, 40.1383)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A6 #79ECBF
analogous
#EC79DF #EC79A6 #EC8679
triadic
#EC79A6 #A6EC79 #79A6EC
tetradic
#EC79A6 #DFEC79 #79ECBF #8679EC
square
#EC79A6 #DFEC79 #79ECBF #8679EC
split-complementary
#EC79A6 #79EC86 #79DFEC
monochromatic
#CD1D62 #E44382 #EC79A6 #F4AFCA #FBE4ED

Accessibility & contrast

On white

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

On black

7.85
#EC79A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A6#FFFFFF#000000##000000
##EC79A61.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A7
Deuteranopia (green-blind)
#A7A6A3
Tritanopia (blue-blind)
#FC7289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a6;
/* rgb */ color: rgb(236, 121, 166);
/* oklch */ color: oklch(71.9% 0.149 356.8);
Tailwind
colors: {
  custom: {
    50: '#f5a3c0',
    500: '#ec79a6',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a6;
$custom-light: #f5a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a6",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 166
  },
  "hsl": {
    "h": 336.522,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71914,
    "c": 0.1492,
    "h": 356.8
  },
  "luminance": 0.34261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79A6

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

Preview Lab → · Contrast checker → · Palette generator →

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