#EC799A#EC799A

#EC799A is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.6% C 0.145 H 3.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC799A
RGBrgb(236, 121, 154)
HSLhsl(343, 75%, 70%)
HSVhsv(343, 49%, 93%)
CMYKcmyk(0%, 48.7%, 34.7%, 7.5%)
CIE-LABlab(64.84, 47.68, 2.89)
CIE-LCHlch(64.84, 47.77, 3.46°)
OKLaboklab(71.55% 0.1449 0.0081)
OKLCHoklch(71.55% 0.145 3.2)
XYZxyz(47.2644, 33.8451, 34.6091)
Luminance0.3384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC799A #79ECCB
analogous
#EC79D3 #EC799A #EC9279
triadic
#EC799A #9AEC79 #799AEC
tetradic
#EC799A #D3EC79 #79ECCB #9279EC
square
#EC799A #D3EC79 #79ECCB #9279EC
split-complementary
#EC799A #79EC92 #79D3EC
monochromatic
#CD1D50 #E44372 #EC799A #F4AFC2 #FBE4EB

Accessibility & contrast

On white

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

On black

7.77
#EC799A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC799A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC799A#FFFFFF#000000##000000
##EC799A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C909B
Deuteranopia (green-blind)
#A9A697
Tritanopia (blue-blind)
#FD6F85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec799a;
/* rgb */ color: rgb(236, 121, 154);
/* oklch */ color: oklch(71.6% 0.145 3.2);
Tailwind
colors: {
  custom: {
    50: '#f5a2b7',
    500: '#ec799a',
    950: '#000000',
  },
}
SCSS
$custom: #ec799a;
$custom-light: #f5a2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec799a",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 342.783,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71554,
    "c": 0.14508,
    "h": 3.2
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#EC799A
secondary
#D0F0E7
accent
#D79E0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC799A

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

Preview Lab → · Contrast checker → · Palette generator →

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