#EC79CD#EC79CD

#EC79CD is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.3% C 0.172 H 338.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC79CD
RGBrgb(236, 121, 205)
HSLhsl(316, 75%, 70%)
HSVhsv(316, 49%, 93%)
CMYKcmyk(0%, 48.7%, 13.1%, 7.5%)
CIE-LABlab(66.46, 54.69, -23.53)
CIE-LCHlch(66.46, 59.54, 336.72°)
OKLaboklab(73.3% 0.1601 -0.0632)
OKLCHoklch(73.3% 0.172 338.5)
XYZxyz(52.4493, 35.9191, 61.9163)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79CD #79EC98
analogous
#D279EC #EC79CD #EC7993
triadic
#EC79CD #CDEC79 #79CDEC
tetradic
#EC79CD #ECD279 #79EC98 #7993EC
square
#EC79CD #ECD279 #79EC98 #7993EC
split-complementary
#EC79CD #93EC79 #79ECD2
monochromatic
#CD1D9E #E443B9 #EC79CD #F4AFE1 #FBE4F5

Accessibility & contrast

On white

2.57
#EC79CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#EC79CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79CD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79CD#FFFFFF#000000##000000
##EC79CD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96D0
Deuteranopia (green-blind)
#9CA8CA
Tritanopia (blue-blind)
#F77C9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79cd;
/* rgb */ color: rgb(236, 121, 205);
/* oklch */ color: oklch(73.3% 0.172 338.5);
Tailwind
colors: {
  custom: {
    50: '#f4a3dc',
    500: '#ec79cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec79cd;
$custom-light: #f4a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79cd",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 316.174,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.733,
    "c": 0.17212,
    "h": 338.5
  },
  "luminance": 0.35915
}

Semantic roles & 50–950 ramp

primary
#EC79CD
secondary
#D0F0D9
accent
#D7440E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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