Skip to content

#ec80df

a light, vivid magenta / pink · warm · closest name: violet

RGB
236, 128, 223
HSL
307°, 74%, 71%
CMYK
0, 46, 6, 8
Luminance
0.3860

Every format

HEX#ec80df
RGBrgb(236, 128, 223)
HSLhsl(307, 74%, 71%)
CMYKcmyk(0%, 46%, 6%, 8%)
LABlab(68.5 54.2 -30.5)
LCHlch(68.5 62.2 330.6)
OKLCHoklch(0.750 0.175 331.8)

Copy-ready code

/* CSS */
color: #ec80df;
background-color: #ec80df;
/* Tailwind (arbitrary) */
class="text-[#ec80df] bg-[#ec80df]"
/* SCSS */
$brand: #ec80df;
/* SwiftUI */
Color(red: 0.925, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#ec80df")

Accessibility — WCAG contrast

Aa
#ec80df on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#ec80df on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green50.2%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta45.8%
Yellow5.5%
Key (black)7.5%

Color previews

#ec80df text on a black background

contrast 8.72:1

Card sample

#ec80df text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ec80df;
Background color
Panel with #ec80df background
background-color: #ec80df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ec80df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec80df;
background: linear-gradient(135deg, #ec80df, #EC8097);

Monochromatic scale

Palettes built from #ec80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec80df in the Color Lab