#EC79A5#EC79A5

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

Color values

HEX#EC79A5
RGBrgb(236, 121, 165)
HSLhsl(337, 75%, 70%)
HSVhsv(337, 49%, 93%)
CMYKcmyk(0%, 48.7%, 30.1%, 7.5%)
CIE-LABlab(65.14, 49.03, -2.93)
CIE-LCHlch(65.14, 49.12, 356.58°)
OKLaboklab(71.88% 0.1486 -0.007)
OKLCHoklch(71.88% 0.149 357.3)
XYZxyz(48.2229, 34.2285, 39.6570)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79A5 #79ECC0
analogous
#EC79DF #EC79A5 #EC8679
triadic
#EC79A5 #A5EC79 #79A5EC
tetradic
#EC79A5 #DFEC79 #79ECC0 #8679EC
square
#EC79A5 #DFEC79 #79ECC0 #8679EC
split-complementary
#EC79A5 #79EC86 #79DFEC
monochromatic
#CD1D61 #E44381 #EC79A5 #F4AFC9 #FBE4ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC79A5#FFFFFF#000000##000000
##EC79A51.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)
#8991A6
Deuteranopia (green-blind)
#A7A6A2
Tritanopia (blue-blind)
#FC7289
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec79a5;
/* rgb */ color: rgb(236, 121, 165);
/* oklch */ color: oklch(71.9% 0.149 357.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3bf',
    500: '#ec79a5',
    950: '#000000',
  },
}
SCSS
$custom: #ec79a5;
$custom-light: #f5a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79a5",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 337.043,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71883,
    "c": 0.1488,
    "h": 357.3
  },
  "luminance": 0.34224
}

Semantic roles & 50–950 ramp

primary
#EC79A5
secondary
#D0F0E4
accent
#D78A0E
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC79A5

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

Preview Lab → · Contrast checker → · Palette generator →

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