#EC79A1#EC79A1

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

Color values

HEX#EC79A1
RGBrgb(236, 121, 161)
HSLhsl(339, 75%, 70%)
HSVhsv(339, 49%, 93%)
CMYKcmyk(0%, 48.7%, 31.8%, 7.5%)
CIE-LABlab(65.03, 48.53, -0.82)
CIE-LCHlch(65.03, 48.54, 359.03°)
OKLaboklab(71.76% 0.1473 -0.0015)
OKLCHoklch(71.76% 0.147 359.4)
XYZxyz(47.8645, 34.0851, 37.7695)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A1 #79ECC4
analogous
#EC79DB #EC79A1 #EC8A79
triadic
#EC79A1 #A1EC79 #79A1EC
tetradic
#EC79A1 #DBEC79 #79ECC4 #8A79EC
square
#EC79A1 #DBEC79 #79ECC4 #8A79EC
split-complementary
#EC79A1 #79EC8A #79DBEC
monochromatic
#CD1D5A #E4437B #EC79A1 #F4AFC7 #FBE4EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC79A1#FFFFFF#000000##000000
##EC79A11.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec79a1;
/* rgb */ color: rgb(236, 121, 161);
/* oklch */ color: oklch(71.8% 0.147 359.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3bc',
    500: '#ec79a1',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a1;
$custom-light: #f5a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a1",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 161
  },
  "hsl": {
    "h": 339.13,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.7176,
    "c": 0.14729,
    "h": 359.4
  },
  "luminance": 0.34081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79A1

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

Preview Lab → · Contrast checker → · Palette generator →

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