#EC79D1#EC79D1

#EC79D1 is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.5% C 0.175 H 336.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#EC79D1
RGBrgb(236, 121, 209)
HSLhsl(314, 75%, 70%)
HSVhsv(314, 49%, 93%)
CMYKcmyk(0%, 48.7%, 11.4%, 7.5%)
CIE-LABlab(66.61, 55.32, -25.54)
CIE-LCHlch(66.61, 60.93, 335.22°)
OKLaboklab(73.46% 0.161 -0.0688)
OKLCHoklch(73.46% 0.175 336.9)
XYZxyz(52.9384, 36.1147, 64.4918)
Luminance0.3611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D1 #79EC94
analogous
#CD79EC #EC79D1 #EC7998
triadic
#EC79D1 #D1EC79 #79D1EC
tetradic
#EC79D1 #ECCD79 #79EC94 #7998EC
square
#EC79D1 #ECCD79 #79EC94 #7998EC
split-complementary
#EC79D1 #98EC79 #79ECCD
monochromatic
#CD1DA4 #E443BF #EC79D1 #F4AFE3 #FBE4F6

Accessibility & contrast

On white

2.55
#EC79D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#EC79D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D1#FFFFFF#000000##000000
##EC79D11.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D4
Deuteranopia (green-blind)
#9BA8CE
Tritanopia (blue-blind)
#F67D9B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d1;
/* rgb */ color: rgb(236, 121, 209);
/* oklch */ color: oklch(73.5% 0.175 336.9);
Tailwind
colors: {
  custom: {
    50: '#f4a3df',
    500: '#ec79d1',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d1;
$custom-light: #f4a3df;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d1",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 209
  },
  "hsl": {
    "h": 314.087,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73461,
    "c": 0.17512,
    "h": 336.9
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#EC79D1
secondary
#D0F0D8
accent
#D73D0E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79D1

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

Preview Lab → · Contrast checker → · Palette generator →

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