#EC77D4#EC77D4

#EC77D4 is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.3% C 0.181 H 335.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#EC77D4
RGBrgb(236, 119, 212)
HSLhsl(312, 75%, 70%)
HSVhsv(312, 50%, 93%)
CMYKcmyk(0%, 49.6%, 10.2%, 7.5%)
CIE-LABlab(66.35, 56.76, -27.60)
CIE-LCHlch(66.35, 63.11, 334.07°)
OKLaboklab(73.31% 0.1645 -0.0746)
OKLCHoklch(73.31% 0.181 335.6)
XYZxyz(53.0727, 35.7836, 66.3861)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77D4 #77EC8F
analogous
#CA77EC #EC77D4 #EC7799
triadic
#EC77D4 #D4EC77 #77D4EC
tetradic
#EC77D4 #ECCA77 #77EC8F #7799EC
square
#EC77D4 #ECCA77 #77EC8F #7799EC
split-complementary
#EC77D4 #99EC77 #77ECCA
monochromatic
#CC1DA8 #E441C3 #EC77D4 #F4ADE5 #FBE2F6

Accessibility & contrast

On white

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

On black

8.16
#EC77D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77D4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77D4#FFFFFF#000000##000000
##EC77D41.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D7
Deuteranopia (green-blind)
#99A8D1
Tritanopia (blue-blind)
#F67C9C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec77d4;
/* rgb */ color: rgb(236, 119, 212);
/* oklch */ color: oklch(73.3% 0.181 335.6);
Tailwind
colors: {
  custom: {
    50: '#f4a2e1',
    500: '#ec77d4',
    950: '#000000',
  },
}
SCSS
$custom: #ec77d4;
$custom-light: #f4a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77d4",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 212
  },
  "hsl": {
    "h": 312.308,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7331,
    "c": 0.18063,
    "h": 335.6
  },
  "luminance": 0.3578
}

Semantic roles & 50–950 ramp

primary
#EC77D4
secondary
#CFF0D6
accent
#D8370E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC77D4

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

Preview Lab → · Contrast checker → · Palette generator →

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