#EC79D2#EC79D2

#EC79D2 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.5% C 0.176 H 336.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#EC79D2
RGBrgb(236, 121, 210)
HSLhsl(314, 75%, 70%)
HSVhsv(314, 49%, 93%)
CMYKcmyk(0%, 48.7%, 11%, 7.5%)
CIE-LABlab(66.65, 55.48, -26.04)
CIE-LCHlch(66.65, 61.28, 334.86°)
OKLaboklab(73.5% 0.1613 -0.0702)
OKLCHoklch(73.5% 0.176 336.5)
XYZxyz(53.0625, 36.1643, 65.1459)
Luminance0.3616 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D2 #79EC93
analogous
#CC79EC #EC79D2 #EC7999
triadic
#EC79D2 #D2EC79 #79D2EC
tetradic
#EC79D2 #ECCC79 #79EC93 #7999EC
square
#EC79D2 #ECCC79 #79EC93 #7999EC
split-complementary
#EC79D2 #99EC79 #79ECCC
monochromatic
#CD1DA6 #E443C0 #EC79D2 #F4AFE4 #FBE4F6

Accessibility & contrast

On white

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

On black

8.23
#EC79D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D2#FFFFFF#000000##000000
##EC79D21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#9BA8CF
Tritanopia (blue-blind)
#F67E9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d2;
/* rgb */ color: rgb(236, 121, 210);
/* oklch */ color: oklch(73.5% 0.176 336.5);
Tailwind
colors: {
  custom: {
    50: '#f4a3e0',
    500: '#ec79d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d2;
$custom-light: #f4a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d2",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 313.565,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.17589,
    "h": 336.5
  },
  "luminance": 0.36161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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