#EC799D#EC799D

#EC799D is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.6% C 0.146 H 1.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#EC799D
RGBrgb(236, 121, 157)
HSLhsl(341, 75%, 70%)
HSVhsv(341, 49%, 93%)
CMYKcmyk(0%, 48.7%, 33.5%, 7.5%)
CIE-LABlab(64.92, 48.04, 1.30)
CIE-LCHlch(64.92, 48.06, 1.54°)
OKLaboklab(71.64% 0.1459 0.004)
OKLCHoklch(71.64% 0.146 1.6)
XYZxyz(47.5174, 33.9463, 35.9415)
Luminance0.3394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC799D #79ECC8
analogous
#EC79D7 #EC799D #EC8E79
triadic
#EC799D #9DEC79 #799DEC
tetradic
#EC799D #D7EC79 #79ECC8 #8E79EC
square
#EC799D #D7EC79 #79ECC8 #8E79EC
split-complementary
#EC799D #79EC8E #79D7EC
monochromatic
#CD1D54 #E44376 #EC799D #F4AFC4 #FBE4EB

Accessibility & contrast

On white

2.70
#EC799D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#EC799D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC799D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC799D#FFFFFF#000000##000000
##EC799D1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B909E
Deuteranopia (green-blind)
#A9A69A
Tritanopia (blue-blind)
#FD7086
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec799d;
/* rgb */ color: rgb(236, 121, 157);
/* oklch */ color: oklch(71.6% 0.146 1.6);
Tailwind
colors: {
  custom: {
    50: '#f5a3b9',
    500: '#ec799d',
    950: '#000000',
  },
}
SCSS
$custom: #ec799d;
$custom-light: #f5a3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec799d",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 341.217,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71641,
    "c": 0.14595,
    "h": 1.6
  },
  "luminance": 0.33942
}

Semantic roles & 50–950 ramp

primary
#EC799D
secondary
#D0F0E6
accent
#D7980E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC799D

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

Preview Lab → · Contrast checker → · Palette generator →

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