#EC79A4#EC79A4

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

Color values

HEX#EC79A4
RGBrgb(236, 121, 164)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 49%, 93%)
CMYKcmyk(0%, 48.7%, 30.5%, 7.5%)
CIE-LABlab(65.11, 48.90, -2.40)
CIE-LCHlch(65.11, 48.96, 357.19°)
OKLaboklab(71.85% 0.1483 -0.0057)
OKLCHoklch(71.85% 0.148 357.8)
XYZxyz(48.1322, 34.1922, 39.1796)
Luminance0.3419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A4 #79ECC1
analogous
#EC79DE #EC79A4 #EC8779
triadic
#EC79A4 #A4EC79 #79A4EC
tetradic
#EC79A4 #DEEC79 #79ECC1 #8779EC
square
#EC79A4 #DEEC79 #79ECC1 #8779EC
split-complementary
#EC79A4 #79EC87 #79DEEC
monochromatic
#CD1D5F #E44380 #EC79A4 #F4AFC8 #FBE4ED

Accessibility & contrast

On white

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

On black

7.84
#EC79A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79A4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79A4#FFFFFF#000000##000000
##EC79A41.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A5
Deuteranopia (green-blind)
#A7A6A1
Tritanopia (blue-blind)
#FC7289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a4;
/* rgb */ color: rgb(236, 121, 164);
/* oklch */ color: oklch(71.9% 0.148 357.8);
Tailwind
colors: {
  custom: {
    50: '#f5a3be',
    500: '#ec79a4',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a4;
$custom-light: #f5a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a4",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 337.565,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71852,
    "c": 0.1484,
    "h": 357.8
  },
  "luminance": 0.34188
}

Semantic roles & 50–950 ramp

primary
#EC79A4
secondary
#D0F0E4
accent
#D78C0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC79A4

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

Preview Lab → · Contrast checker → · Palette generator →

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