#EC7797#EC7797

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

Color values

HEX#EC7797
RGBrgb(236, 119, 151)
HSLhsl(344, 75%, 70%)
HSVhsv(344, 50%, 93%)
CMYKcmyk(0%, 49.6%, 36%, 7.5%)
CIE-LABlab(64.38, 48.32, 3.92)
CIE-LCHlch(64.38, 48.48, 4.64°)
OKLaboklab(71.18% 0.1468 0.0108)
OKLCHoklch(71.18% 0.147 4.2)
XYZxyz(46.7772, 33.2653, 33.2295)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7797 #77ECCC
analogous
#EC77D1 #EC7797 #EC9277
triadic
#EC7797 #97EC77 #7797EC
tetradic
#EC7797 #D1EC77 #77ECCC #9277EC
square
#EC7797 #D1EC77 #77ECCC #9277EC
split-complementary
#EC7797 #77EC92 #77D1EC
monochromatic
#CC1D4D #E4416E #EC7797 #F4ADC0 #FBE2E9

Accessibility & contrast

On white

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

On black

7.65
#EC7797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7797
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7797#FFFFFF#000000##000000
##EC77971.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7797;
/* rgb */ color: rgb(236, 119, 151);
/* oklch */ color: oklch(71.2% 0.147 4.2);
Tailwind
colors: {
  custom: {
    50: '#f5a1b5',
    500: '#ec7797',
    950: '#000000',
  },
}
SCSS
$custom: #ec7797;
$custom-light: #f5a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7797",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 343.59,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.14723,
    "h": 4.2
  },
  "luminance": 0.33261
}

Semantic roles & 50–950 ramp

primary
#EC7797
secondary
#CFF0E7
accent
#D8A00E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EC7797

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

Preview Lab → · Contrast checker → · Palette generator →

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