#EC79A2#EC79A2

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

Color values

HEX#EC79A2
RGBrgb(236, 121, 162)
HSLhsl(339, 75%, 70%)
HSVhsv(339, 49%, 93%)
CMYKcmyk(0%, 48.7%, 31.4%, 7.5%)
CIE-LABlab(65.06, 48.65, -1.35)
CIE-LCHlch(65.06, 48.67, 358.41°)
OKLaboklab(71.79% 0.1476 -0.0029)
OKLCHoklch(71.79% 0.148 358.9)
XYZxyz(47.9530, 34.1205, 38.2358)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A2 #79ECC3
analogous
#EC79DB #EC79A2 #EC8A79
triadic
#EC79A2 #A2EC79 #79A2EC
tetradic
#EC79A2 #DBEC79 #79ECC3 #8A79EC
square
#EC79A2 #DBEC79 #79ECC3 #8A79EC
split-complementary
#EC79A2 #79EC8A #79DBEC
monochromatic
#CD1D5C #E4437D #EC79A2 #F4AFC7 #FBE4EC

Accessibility & contrast

On white

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

On black

7.82
#EC79A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A2#FFFFFF#000000##000000
##EC79A21.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec79a2;
/* rgb */ color: rgb(236, 121, 162);
/* oklch */ color: oklch(71.8% 0.148 358.9);
Tailwind
colors: {
  custom: {
    50: '#f5a3bd',
    500: '#ec79a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a2;
$custom-light: #f5a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a2",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 338.609,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71791,
    "c": 0.14765,
    "h": 358.9
  },
  "luminance": 0.34116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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