#EC77D8#EC77D8

#EC77D8 is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.5% C 0.184 H 334.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#EC77D8
RGBrgb(236, 119, 216)
HSLhsl(310, 75%, 70%)
HSVhsv(310, 50%, 93%)
CMYKcmyk(0%, 49.6%, 8.5%, 7.5%)
CIE-LABlab(66.51, 57.40, -29.59)
CIE-LCHlch(66.51, 64.58, 332.73°)
OKLaboklab(73.48% 0.1653 -0.0802)
OKLCHoklch(73.48% 0.184 334.1)
XYZxyz(53.5836, 35.9879, 69.0765)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77D8 #77EC8B
analogous
#C577EC #EC77D8 #EC779E
triadic
#EC77D8 #D8EC77 #77D8EC
tetradic
#EC77D8 #ECC577 #77EC8B #779EEC
square
#EC77D8 #ECC577 #77EC8B #779EEC
split-complementary
#EC77D8 #9EEC77 #77ECC5
monochromatic
#CC1DAE #E441C9 #EC77D8 #F4ADE7 #FBE2F7

Accessibility & contrast

On white

2.56
#EC77D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#EC77D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77D8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77D8#FFFFFF#000000##000000
##EC77D81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DB
Deuteranopia (green-blind)
#97A8D5
Tritanopia (blue-blind)
#F57E9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec77d8;
/* rgb */ color: rgb(236, 119, 216);
/* oklch */ color: oklch(73.5% 0.184 334.1);
Tailwind
colors: {
  custom: {
    50: '#f4a2e4',
    500: '#ec77d8',
    950: '#000000',
  },
}
SCSS
$custom: #ec77d8;
$custom-light: #f4a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77d8",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 216
  },
  "hsl": {
    "h": 310.256,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73478,
    "c": 0.18377,
    "h": 334.1
  },
  "luminance": 0.35984
}

Semantic roles & 50–950 ramp

primary
#EC77D8
secondary
#CFF0D4
accent
#D8300E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC77D8

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

Preview Lab → · Contrast checker → · Palette generator →

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