#EC79C1#EC79C1

#EC79C1 is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.8% C 0.164 H 343.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#EC79C1
RGBrgb(236, 121, 193)
HSLhsl(322, 75%, 70%)
HSVhsv(322, 49%, 93%)
CMYKcmyk(0%, 48.7%, 18.2%, 7.5%)
CIE-LABlab(66.03, 52.87, -17.44)
CIE-LCHlch(66.03, 55.68, 341.74°)
OKLaboklab(72.84% 0.1571 -0.0463)
OKLCHoklch(72.84% 0.164 343.6)
XYZxyz(51.0560, 35.3617, 54.5782)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79C1 #79ECA4
analogous
#DE79EC #EC79C1 #EC7987
triadic
#EC79C1 #C1EC79 #79C1EC
tetradic
#EC79C1 #ECDE79 #79ECA4 #7987EC
square
#EC79C1 #ECDE79 #79ECA4 #7987EC
split-complementary
#EC79C1 #87EC79 #79ECDE
monochromatic
#CD1D8C #E443A8 #EC79C1 #F4AFDA #FBE4F3

Accessibility & contrast

On white

2.60
#EC79C1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#EC79C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79C1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79C1#FFFFFF#000000##000000
##EC79C11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8195C3
Deuteranopia (green-blind)
#A0A7BE
Tritanopia (blue-blind)
#F97994
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec79c1;
/* rgb */ color: rgb(236, 121, 193);
/* oklch */ color: oklch(72.8% 0.164 343.6);
Tailwind
colors: {
  custom: {
    50: '#f4a3d3',
    500: '#ec79c1',
    950: '#000000',
  },
}
SCSS
$custom: #ec79c1;
$custom-light: #f4a3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79c1",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 193
  },
  "hsl": {
    "h": 322.435,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.72839,
    "c": 0.16375,
    "h": 343.6
  },
  "luminance": 0.35358
}

Semantic roles & 50–950 ramp

primary
#EC79C1
secondary
#D0F0DC
accent
#D7590E
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F14
muted
#857F82

Preview Lab

Preview with #EC79C1

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

Preview Lab → · Contrast checker → · Palette generator →

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