#EC77A2#EC77A2

#EC77A2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.5% C 0.151 H 358.3°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#EC77A2
RGBrgb(236, 119, 162)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 50%, 93%)
CMYKcmyk(0%, 49.6%, 31.4%, 7.5%)
CIE-LABlab(64.68, 49.64, -1.91)
CIE-LCHlch(64.68, 49.67, 357.80°)
OKLaboklab(71.5% 0.1506 -0.0044)
OKLCHoklch(71.5% 0.151 358.3)
XYZxyz(47.7125, 33.6395, 38.1557)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC77A2 #77ECC1
analogous
#EC77DC #EC77A2 #EC8777
triadic
#EC77A2 #A2EC77 #77A2EC
tetradic
#EC77A2 #DCEC77 #77ECC1 #8777EC
square
#EC77A2 #DCEC77 #77ECC1 #8777EC
split-complementary
#EC77A2 #77EC87 #77DCEC
monochromatic
#CC1D5D #E4417D #EC77A2 #F4ADC7 #FBE2EB

Accessibility & contrast

On white

2.72
#EC77A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#EC77A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC77A2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC77A2#FFFFFF#000000##000000
##EC77A21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A3
Deuteranopia (green-blind)
#A7A59F
Tritanopia (blue-blind)
#FC6F87
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec77a2;
/* rgb */ color: rgb(236, 119, 162);
/* oklch */ color: oklch(71.5% 0.151 358.3);
Tailwind
colors: {
  custom: {
    50: '#f5a1bd',
    500: '#ec77a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec77a2;
$custom-light: #f5a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec77a2",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 337.949,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71502,
    "c": 0.15069,
    "h": 358.3
  },
  "luminance": 0.33635
}

Semantic roles & 50–950 ramp

primary
#EC77A2
secondary
#CFF0E4
accent
#D88D0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC77A2

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

Preview Lab → · Contrast checker → · Palette generator →

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