#EC79D3#EC79D3

#EC79D3 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.5% C 0.177 H 336.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#EC79D3
RGBrgb(236, 121, 211)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 49%, 93%)
CMYKcmyk(0%, 48.7%, 10.6%, 7.5%)
CIE-LABlab(66.68, 55.63, -26.54)
CIE-LCHlch(66.68, 61.64, 334.50°)
OKLaboklab(73.54% 0.1615 -0.0716)
OKLCHoklch(73.54% 0.177 336.1)
XYZxyz(53.1875, 36.2143, 65.8040)
Luminance0.3621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D3 #79EC92
analogous
#CB79EC #EC79D3 #EC799A
triadic
#EC79D3 #D3EC79 #79D3EC
tetradic
#EC79D3 #ECCB79 #79EC92 #799AEC
square
#EC79D3 #ECCB79 #79EC92 #799AEC
split-complementary
#EC79D3 #9AEC79 #79ECCB
monochromatic
#CD1DA7 #E443C1 #EC79D3 #F4AFE5 #FBE4F6

Accessibility & contrast

On white

2.55
#EC79D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#EC79D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D3#FFFFFF#000000##000000
##EC79D31.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D6
Deuteranopia (green-blind)
#9AA9D0
Tritanopia (blue-blind)
#F67E9C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec79d3;
/* rgb */ color: rgb(236, 121, 211);
/* oklch */ color: oklch(73.5% 0.177 336.1);
Tailwind
colors: {
  custom: {
    50: '#f4a3e0',
    500: '#ec79d3',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d3;
$custom-light: #f4a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d3",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 211
  },
  "hsl": {
    "h": 313.043,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73542,
    "c": 0.17665,
    "h": 336.1
  },
  "luminance": 0.36211
}

Semantic roles & 50–950 ramp

primary
#EC79D3
secondary
#D0F0D7
accent
#D73A0E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC79D3

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

Preview Lab → · Contrast checker → · Palette generator →

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