#EC77D2#EC77D2

#EC77D2 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.2% C 0.179 H 336.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#EC77D2
RGBrgb(236, 119, 210)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 50%, 93%)
CMYKcmyk(0%, 49.6%, 11%, 7.5%)
CIE-LABlab(66.28, 56.44, -26.60)
CIE-LCHlch(66.28, 62.39, 334.76°)
OKLaboklab(73.23% 0.1641 -0.0718)
OKLCHoklch(73.23% 0.179 336.4)
XYZxyz(52.8220, 35.6833, 65.0657)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77D2 #77EC91
analogous
#CB77EC #EC77D2 #EC7798
triadic
#EC77D2 #D2EC77 #77D2EC
tetradic
#EC77D2 #ECCB77 #77EC91 #7798EC
square
#EC77D2 #ECCB77 #77EC91 #7798EC
split-complementary
#EC77D2 #98EC77 #77ECCB
monochromatic
#CC1DA5 #E441C0 #EC77D2 #F4ADE4 #FBE2F6

Accessibility & contrast

On white

2.58
#EC77D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#EC77D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77D2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77D2#FFFFFF#000000##000000
##EC77D21.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7996D5
Deuteranopia (green-blind)
#99A8CF
Tritanopia (blue-blind)
#F67C9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec77d2;
/* rgb */ color: rgb(236, 119, 210);
/* oklch */ color: oklch(73.2% 0.179 336.4);
Tailwind
colors: {
  custom: {
    50: '#f4a2e0',
    500: '#ec77d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec77d2;
$custom-light: #f4a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77d2",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 313.333,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.1791,
    "h": 336.4
  },
  "luminance": 0.3568
}

Semantic roles & 50–950 ramp

primary
#EC77D2
secondary
#CFF0D6
accent
#D83B0E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC77D2

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

Preview Lab → · Contrast checker → · Palette generator →

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