Skip to content

#ec50df

a balanced, electric magenta / pink · warm · closest name: orchid

RGB
236, 80, 223
HSL
305°, 80%, 62%
CMYK
0, 66, 6, 8
Luminance
0.2890

Every format

HEX#ec50df
RGBrgb(236, 80, 223)
HSLhsl(305, 80%, 62%)
CMYKcmyk(0%, 66%, 6%, 8%)
LABlab(60.7 75.1 -42.6)
LCHlch(60.7 86.3 330.5)
OKLCHoklch(0.693 0.244 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec50df on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#ec50df on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green31.4%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta66.1%
Yellow5.5%
Key (black)7.5%

Color previews

#ec50df text on a black background

contrast 6.78:1

Card sample

#ec50df text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec50df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec50df in the Color Lab