#EC79A3#EC79A3

#EC79A3 is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.8% C 0.148 H 358.3°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#EC79A3
RGBrgb(236, 121, 163)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 49%, 93%)
CMYKcmyk(0%, 48.7%, 30.9%, 7.5%)
CIE-LABlab(65.09, 48.78, -1.87)
CIE-LCHlch(65.09, 48.81, 357.80°)
OKLaboklab(71.82% 0.148 -0.0043)
OKLCHoklch(71.82% 0.148 358.3)
XYZxyz(48.0423, 34.1562, 38.7058)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A3 #79ECC2
analogous
#EC79DC #EC79A3 #EC8979
triadic
#EC79A3 #A3EC79 #79A3EC
tetradic
#EC79A3 #DCEC79 #79ECC2 #8979EC
square
#EC79A3 #DCEC79 #79ECC2 #8979EC
split-complementary
#EC79A3 #79EC89 #79DCEC
monochromatic
#CD1D5E #E4437E #EC79A3 #F4AFC8 #FBE4ED

Accessibility & contrast

On white

2.68
#EC79A3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#EC79A3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A3
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A3#FFFFFF#000000##000000
##EC79A31.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A4
Deuteranopia (green-blind)
#A8A6A0
Tritanopia (blue-blind)
#FC7188
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a3;
/* rgb */ color: rgb(236, 121, 163);
/* oklch */ color: oklch(71.8% 0.148 358.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3be',
    500: '#ec79a3',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a3;
$custom-light: #f5a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a3",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 338.087,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.14802,
    "h": 358.3
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#EC79A3
secondary
#D0F0E5
accent
#D78E0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC79A3

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

Preview Lab → · Contrast checker → · Palette generator →

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