#EC79B2#EC79B2

#EC79B2 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.3% C 0.155 H 350.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#EC79B2
RGBrgb(236, 121, 178)
HSLhsl(330, 75%, 70%)
HSVhsv(330, 49%, 93%)
CMYKcmyk(0%, 48.7%, 24.6%, 7.5%)
CIE-LABlab(65.53, 50.74, -9.72)
CIE-LCHlch(65.53, 51.67, 349.16°)
OKLaboklab(72.31% 0.1528 -0.0252)
OKLCHoklch(72.31% 0.155 350.6)
XYZxyz(49.4668, 34.7261, 46.2083)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79B2 #79ECB3
analogous
#EC79EB #EC79B2 #EC7A79
triadic
#EC79B2 #B2EC79 #79B2EC
tetradic
#EC79B2 #EBEC79 #79ECB3 #7A79EC
square
#EC79B2 #EBEC79 #79ECB3 #7A79EC
split-complementary
#EC79B2 #79EC7A #79EBEC
monochromatic
#CD1D75 #E44393 #EC79B2 #F4AFD1 #FBE4F0

Accessibility & contrast

On white

2.64
#EC79B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#EC79B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79B2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79B2#FFFFFF#000000##000000
##EC79B21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#A4A7AF
Tritanopia (blue-blind)
#FA758E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec79b2;
/* rgb */ color: rgb(236, 121, 178);
/* oklch */ color: oklch(72.3% 0.155 350.6);
Tailwind
colors: {
  custom: {
    50: '#f5a3c9',
    500: '#ec79b2',
    950: '#000000',
  },
}
SCSS
$custom: #ec79b2;
$custom-light: #f5a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79b2",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 330.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72306,
    "c": 0.15483,
    "h": 350.6
  },
  "luminance": 0.34722
}

Semantic roles & 50–950 ramp

primary
#EC79B2
secondary
#D0F0E1
accent
#D7740E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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