#EC799F#EC799F

#EC799F is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.7% C 0.147 H 0.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#EC799F
RGBrgb(236, 121, 159)
HSLhsl(340, 75%, 70%)
HSVhsv(340, 49%, 93%)
CMYKcmyk(0%, 48.7%, 32.6%, 7.5%)
CIE-LABlab(64.97, 48.28, 0.24)
CIE-LCHlch(64.97, 48.28, 0.28°)
OKLaboklab(71.7% 0.1466 0.0013)
OKLCHoklch(71.7% 0.147 0.5)
XYZxyz(47.6896, 34.0151, 36.8481)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC799F #79ECC6
analogous
#EC79D8 #EC799F #EC8D79
triadic
#EC799F #9FEC79 #799FEC
tetradic
#EC799F #D8EC79 #79ECC6 #8D79EC
square
#EC799F #D8EC79 #79ECC6 #8D79EC
split-complementary
#EC799F #79EC8D #79D8EC
monochromatic
#CD1D57 #E44379 #EC799F #F4AFC5 #FBE4EC

Accessibility & contrast

On white

2.69
#EC799F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#EC799F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC799F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC799F#FFFFFF#000000##000000
##EC799F1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B90A0
Deuteranopia (green-blind)
#A8A69C
Tritanopia (blue-blind)
#FC7087
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec799f;
/* rgb */ color: rgb(236, 121, 159);
/* oklch */ color: oklch(71.7% 0.147 0.5);
Tailwind
colors: {
  custom: {
    50: '#f5a3bb',
    500: '#ec799f',
    950: '#000000',
  },
}
SCSS
$custom: #ec799f;
$custom-light: #f5a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec799f",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 340.174,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.717,
    "c": 0.14661,
    "h": 0.5
  },
  "luminance": 0.34011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC799F

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

Preview Lab → · Contrast checker → · Palette generator →

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