#EC79D4#EC79D4

#EC79D4 is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.6% C 0.177 H 335.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#EC79D4
RGBrgb(236, 121, 212)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 49%, 93%)
CMYKcmyk(0%, 48.7%, 10.2%, 7.5%)
CIE-LABlab(66.72, 55.79, -27.04)
CIE-LCHlch(66.72, 62.00, 334.15°)
OKLaboklab(73.58% 0.1617 -0.073)
OKLCHoklch(73.58% 0.177 335.7)
XYZxyz(53.3133, 36.2646, 66.4663)
Luminance0.3626 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D4 #79EC91
analogous
#CB79EC #EC79D4 #EC799A
triadic
#EC79D4 #D4EC79 #79D4EC
tetradic
#EC79D4 #ECCB79 #79EC91 #799AEC
square
#EC79D4 #ECCB79 #79EC91 #799AEC
split-complementary
#EC79D4 #9AEC79 #79ECCB
monochromatic
#CD1DA9 #E443C3 #EC79D4 #F4AFE5 #FBE4F6

Accessibility & contrast

On white

2.54
#EC79D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#EC79D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D4#FFFFFF#000000##000000
##EC79D41.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D7
Deuteranopia (green-blind)
#9AA9D1
Tritanopia (blue-blind)
#F67E9D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d4;
/* rgb */ color: rgb(236, 121, 212);
/* oklch */ color: oklch(73.6% 0.177 335.7);
Tailwind
colors: {
  custom: {
    50: '#f4a3e1',
    500: '#ec79d4',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d4;
$custom-light: #f4a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d4",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 312.522,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73583,
    "c": 0.17743,
    "h": 335.7
  },
  "luminance": 0.36261
}

Semantic roles & 50–950 ramp

primary
#EC79D4
secondary
#D0F0D7
accent
#D7380E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79D4

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

Preview Lab → · Contrast checker → · Palette generator →

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