#EC77C4#EC77C4

#EC77C4 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.7% C 0.169 H 342.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#EC77C4
RGBrgb(236, 119, 196)
HSLhsl(321, 75%, 70%)
HSVhsv(321, 50%, 93%)
CMYKcmyk(0%, 49.6%, 16.9%, 7.5%)
CIE-LABlab(65.76, 54.29, -19.54)
CIE-LCHlch(65.76, 57.70, 340.21°)
OKLaboklab(72.67% 0.1608 -0.0521)
OKLCHoklch(72.67% 0.169 342.1)
XYZxyz(51.1535, 35.0159, 56.2784)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77C4 #77EC9F
analogous
#DA77EC #EC77C4 #EC778A
triadic
#EC77C4 #C4EC77 #77C4EC
tetradic
#EC77C4 #ECDA77 #77EC9F #778AEC
square
#EC77C4 #ECDA77 #77EC9F #778AEC
split-complementary
#EC77C4 #8AEC77 #77ECDA
monochromatic
#CC1D90 #E441AD #EC77C4 #F4ADDB #FBE2F3

Accessibility & contrast

On white

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

On black

8.00
#EC77C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77C4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77C4#FFFFFF#000000##000000
##EC77C41.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C7
Deuteranopia (green-blind)
#9EA7C1
Tritanopia (blue-blind)
#F87895
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec77c4;
/* rgb */ color: rgb(236, 119, 196);
/* oklch */ color: oklch(72.7% 0.169 342.1);
Tailwind
colors: {
  custom: {
    50: '#f4a2d6',
    500: '#ec77c4',
    950: '#000000',
  },
}
SCSS
$custom: #ec77c4;
$custom-light: #f4a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77c4",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 196
  },
  "hsl": {
    "h": 320.513,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.16897,
    "h": 342.1
  },
  "luminance": 0.35012
}

Semantic roles & 50–950 ramp

primary
#EC77C4
secondary
#CFF0DA
accent
#D8530E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC77C4

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

Preview Lab → · Contrast checker → · Palette generator →

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