#EC7798#EC7798

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

Color values

HEX#EC7798
RGBrgb(236, 119, 152)
HSLhsl(343, 75%, 70%)
HSVhsv(343, 50%, 93%)
CMYKcmyk(0%, 49.6%, 35.6%, 7.5%)
CIE-LABlab(64.40, 48.43, 3.39)
CIE-LCHlch(64.40, 48.55, 4.01°)
OKLaboklab(71.21% 0.1472 0.0094)
OKLCHoklch(71.21% 0.147 3.7)
XYZxyz(46.8587, 33.2980, 33.6590)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7798 #77ECCB
analogous
#EC77D3 #EC7798 #EC9177
triadic
#EC7798 #98EC77 #7798EC
tetradic
#EC7798 #D3EC77 #77ECCB #9177EC
square
#EC7798 #D3EC77 #77ECCB #9177EC
split-complementary
#EC7798 #77EC91 #77D3EC
monochromatic
#CC1D4E #E4416F #EC7798 #F4ADC1 #FBE2E9

Accessibility & contrast

On white

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

On black

7.66
#EC7798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7798
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7798#FFFFFF#000000##000000
##EC77981.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec7798;
/* rgb */ color: rgb(236, 119, 152);
/* oklch */ color: oklch(71.2% 0.147 3.7);
Tailwind
colors: {
  custom: {
    50: '#f5a1b6',
    500: '#ec7798',
    950: '#000000',
  },
}
SCSS
$custom: #ec7798;
$custom-light: #f5a1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7798",
  "rgb": {
    "r": 236,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 343.077,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.14748,
    "h": 3.7
  },
  "luminance": 0.33294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC7798

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

Preview Lab → · Contrast checker → · Palette generator →

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