#EC79A8#EC79A8

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

Color values

HEX#EC79A8
RGBrgb(236, 121, 168)
HSLhsl(335, 75%, 70%)
HSVhsv(335, 49%, 93%)
CMYKcmyk(0%, 48.7%, 28.8%, 7.5%)
CIE-LABlab(65.23, 49.42, -4.50)
CIE-LCHlch(65.23, 49.62, 354.79°)
OKLaboklab(71.98% 0.1496 -0.0112)
OKLCHoklch(71.98% 0.15 355.7)
XYZxyz(48.4992, 34.3390, 41.1120)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A8 #79ECBD
analogous
#EC79E2 #EC79A8 #EC8379
triadic
#EC79A8 #A8EC79 #79A8EC
tetradic
#EC79A8 #E2EC79 #79ECBD #8379EC
square
#EC79A8 #E2EC79 #79ECBD #8379EC
split-complementary
#EC79A8 #79EC83 #79E2EC
monochromatic
#CD1D65 #E44385 #EC79A8 #F4AFCB #FBE4EE

Accessibility & contrast

On white

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

On black

7.87
#EC79A8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A8#FFFFFF#000000##000000
##EC79A81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991AA
Deuteranopia (green-blind)
#A6A6A5
Tritanopia (blue-blind)
#FB738A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a8;
/* rgb */ color: rgb(236, 121, 168);
/* oklch */ color: oklch(72.0% 0.150 355.7);
Tailwind
colors: {
  custom: {
    50: '#f5a3c1',
    500: '#ec79a8',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a8;
$custom-light: #f5a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a8",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 335.478,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.15004,
    "h": 355.7
  },
  "luminance": 0.34335
}

Semantic roles & 50–950 ramp

primary
#EC79A8
secondary
#D0F0E3
accent
#D7850E
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC79A8

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

Preview Lab → · Contrast checker → · Palette generator →

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