#EC7799#EC7799

#EC7799 is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.2% C 0.148 H 3.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#EC7799
RGBrgb(236, 119, 153)
HSLhsl(343, 75%, 70%)
HSVhsv(343, 50%, 93%)
CMYKcmyk(0%, 49.6%, 35.2%, 7.5%)
CIE-LABlab(64.43, 48.55, 2.86)
CIE-LCHlch(64.43, 48.63, 3.37°)
OKLaboklab(71.24% 0.1475 0.0081)
OKLCHoklch(71.24% 0.148 3.1)
XYZxyz(46.9410, 33.3309, 34.0922)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7799 #77ECCA
analogous
#EC77D4 #EC7799 #EC9077
triadic
#EC7799 #99EC77 #7799EC
tetradic
#EC7799 #D4EC77 #77ECCA #9077EC
square
#EC7799 #D4EC77 #77ECCA #9077EC
split-complementary
#EC7799 #77EC90 #77D4EC
monochromatic
#CC1D50 #E44171 #EC7799 #F4ADC1 #FBE2EA

Accessibility & contrast

On white

2.74
#EC7799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#EC7799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7799
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7799#FFFFFF#000000##000000
##EC77991.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8F9A
Deuteranopia (green-blind)
#A9A596
Tritanopia (blue-blind)
#FD6D83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7799;
/* rgb */ color: rgb(236, 119, 153);
/* oklch */ color: oklch(71.2% 0.148 3.1);
Tailwind
colors: {
  custom: {
    50: '#f5a1b6',
    500: '#ec7799',
    950: '#000000',
  },
}
SCSS
$custom: #ec7799;
$custom-light: #f5a1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7799",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 342.564,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.14776,
    "h": 3.1
  },
  "luminance": 0.33326
}

Semantic roles & 50–950 ramp

primary
#EC7799
secondary
#CFF0E6
accent
#D89D0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EC7799

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

Preview Lab → · Contrast checker → · Palette generator →

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