#EC77B2#EC77B2

#EC77B2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.0% C 0.158 H 350.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EC77B2
RGBrgb(236, 119, 178)
HSLhsl(330, 75%, 70%)
HSVhsv(330, 50%, 93%)
CMYKcmyk(0%, 49.6%, 24.6%, 7.5%)
CIE-LABlab(65.16, 51.72, -10.28)
CIE-LCHlch(65.16, 52.73, 348.75°)
OKLaboklab(72.02% 0.1557 -0.0267)
OKLCHoklch(72.02% 0.158 350.3)
XYZxyz(49.2263, 34.2450, 46.1282)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77B2 #77ECB1
analogous
#EC77EC #EC77B2 #EC7777
triadic
#EC77B2 #B2EC77 #77B2EC
tetradic
#EC77B2 #ECEC77 #77ECB1 #7777EC
square
#EC77B2 #ECEC77 #77ECB1 #7777EC
split-complementary
#EC77B2 #77EC77 #77ECEC
monochromatic
#CC1D75 #E44194 #EC77B2 #F4ADD0 #FBE2EF

Accessibility & contrast

On white

2.68
#EC77B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#EC77B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77B2#FFFFFF#000000##000000
##EC77B21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#A3A6AF
Tritanopia (blue-blind)
#FA738D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec77b2;
/* rgb */ color: rgb(236, 119, 178);
/* oklch */ color: oklch(72.0% 0.158 350.3);
Tailwind
colors: {
  custom: {
    50: '#f5a2c9',
    500: '#ec77b2',
    950: '#000000',
  },
}
SCSS
$custom: #ec77b2;
$custom-light: #f5a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77b2",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 329.744,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72022,
    "c": 0.158,
    "h": 350.3
  },
  "luminance": 0.34241
}

Semantic roles & 50–950 ramp

primary
#EC77B2
secondary
#CFF0DF
accent
#D8720E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC77B2

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

Preview Lab → · Contrast checker → · Palette generator →

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