Skip to content

#ec29ff

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

RGB
236, 41, 255
HSL
295°, 100%, 58%
CMYK
8, 84, 0, 0
Luminance
0.2664

Every format

HEX#ec29ff
RGBrgb(236, 41, 255)
HSLhsl(295, 100%, 58%)
CMYKcmyk(8%, 84%, 0%, 0%)
LABlab(58.6 90.9 -63.7)
LCHlch(58.6 111.0 325.0)
OKLCHoklch(0.684 0.302 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec29ff on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#ec29ff on black: 6.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green16.1%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta83.9%
Yellow0.0%
Key (black)0.0%

Color previews

#ec29ff text on a black background

contrast 6.33:1

Card sample

#ec29ff text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec29ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec29ff in the Color Lab