#EC77AC#EC77AC

#EC77AC is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.8% C 0.155 H 353.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC77AC
RGBrgb(236, 119, 172)
HSLhsl(333, 75%, 70%)
HSVhsv(333, 50%, 93%)
CMYKcmyk(0%, 49.6%, 27.1%, 7.5%)
CIE-LABlab(64.97, 50.92, -7.16)
CIE-LCHlch(64.97, 51.42, 352.00°)
OKLaboklab(71.82% 0.1539 -0.0183)
OKLCHoklch(71.82% 0.155 353.2)
XYZxyz(48.6370, 34.0093, 43.0246)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77AC #77ECB7
analogous
#EC77E6 #EC77AC #EC7D77
triadic
#EC77AC #ACEC77 #77ACEC
tetradic
#EC77AC #E6EC77 #77ECB7 #7D77EC
square
#EC77AC #E6EC77 #77ECB7 #7D77EC
split-complementary
#EC77AC #77EC7D #77E6EC
monochromatic
#CC1D6C #E4418B #EC77AC #F4ADCD #FBE2EE

Accessibility & contrast

On white

2.69
#EC77AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC77AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77AC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77AC#FFFFFF#000000##000000
##EC77AC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8691AE
Deuteranopia (green-blind)
#A4A5A9
Tritanopia (blue-blind)
#FB728B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec77ac;
/* rgb */ color: rgb(236, 119, 172);
/* oklch */ color: oklch(71.8% 0.155 353.2);
Tailwind
colors: {
  custom: {
    50: '#f5a1c4',
    500: '#ec77ac',
    950: '#000000',
  },
}
SCSS
$custom: #ec77ac;
$custom-light: #f5a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77ac",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 332.821,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.15497,
    "h": 353.2
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#EC77AC
secondary
#CFF0E1
accent
#D87C0E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC77AC

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

Preview Lab → · Contrast checker → · Palette generator →

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