#EC77C7#EC77C7

#EC77C7 is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.8% C 0.171 H 340.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#EC77C7
RGBrgb(236, 119, 199)
HSLhsl(319, 75%, 70%)
HSVhsv(319, 50%, 93%)
CMYKcmyk(0%, 49.6%, 15.7%, 7.5%)
CIE-LABlab(65.87, 54.74, -21.06)
CIE-LCHlch(65.87, 58.65, 338.95°)
OKLaboklab(72.79% 0.1615 -0.0563)
OKLCHoklch(72.79% 0.171 340.8)
XYZxyz(51.4984, 35.1538, 58.0947)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77C7 #77EC9C
analogous
#D677EC #EC77C7 #EC778D
triadic
#EC77C7 #C7EC77 #77C7EC
tetradic
#EC77C7 #ECD677 #77EC9C #778DEC
square
#EC77C7 #ECD677 #77EC9C #778DEC
split-complementary
#EC77C7 #8DEC77 #77ECD6
monochromatic
#CC1D95 #E441B1 #EC77C7 #F4ADDD #FBE2F3

Accessibility & contrast

On white

2.62
#EC77C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#EC77C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77C7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77C7#FFFFFF#000000##000000
##EC77C71.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec77c7;
/* rgb */ color: rgb(236, 119, 199);
/* oklch */ color: oklch(72.8% 0.171 340.8);
Tailwind
colors: {
  custom: {
    50: '#f4a2d8',
    500: '#ec77c7',
    950: '#000000',
  },
}
SCSS
$custom: #ec77c7;
$custom-light: #f4a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77c7",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 199
  },
  "hsl": {
    "h": 318.974,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.17104,
    "h": 340.8
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC77C7

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

Preview Lab → · Contrast checker → · Palette generator →

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