#EC77C8#EC77C8

#EC77C8 is a light, vivid pink. Relative luminance 0.352; OKLCH L 72.8% C 0.172 H 340.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#EC77C8
RGBrgb(236, 119, 200)
HSLhsl(318, 75%, 70%)
HSVhsv(318, 50%, 93%)
CMYKcmyk(0%, 49.6%, 15.3%, 7.5%)
CIE-LABlab(65.90, 54.89, -21.57)
CIE-LCHlch(65.90, 58.98, 338.55°)
OKLaboklab(72.83% 0.1618 -0.0577)
OKLCHoklch(72.83% 0.172 340.4)
XYZxyz(51.6149, 35.2004, 58.7082)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77C8 #77EC9B
analogous
#D677EC #EC77C8 #EC778D
triadic
#EC77C8 #C8EC77 #77C8EC
tetradic
#EC77C8 #ECD677 #77EC9B #778DEC
square
#EC77C8 #ECD677 #77EC9B #778DEC
split-complementary
#EC77C8 #8DEC77 #77ECD6
monochromatic
#CC1D96 #E441B2 #EC77C8 #F4ADDE #FBE2F3

Accessibility & contrast

On white

2.61
#EC77C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#EC77C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77C8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77C8#FFFFFF#000000##000000
##EC77C81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CB
Deuteranopia (green-blind)
#9DA7C5
Tritanopia (blue-blind)
#F87996
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec77c8;
/* rgb */ color: rgb(236, 119, 200);
/* oklch */ color: oklch(72.8% 0.172 340.4);
Tailwind
colors: {
  custom: {
    50: '#f4a2d8',
    500: '#ec77c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec77c8;
$custom-light: #f4a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77c8",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 318.462,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.17173,
    "h": 340.4
  },
  "luminance": 0.35197
}

Semantic roles & 50–950 ramp

primary
#EC77C8
secondary
#CFF0D9
accent
#D84C0E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC77C8

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

Preview Lab → · Contrast checker → · Palette generator →

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