Skip to content

#ec55ff

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

RGB
236, 85, 255
HSL
293°, 100%, 67%
CMYK
8, 67, 0, 0
Luminance
0.3155

Every format

HEX#ec55ff
RGBrgb(236, 85, 255)
HSLhsl(293, 100%, 67%)
CMYKcmyk(8%, 67%, 0%, 0%)
LABlab(63.0 78.5 -56.8)
LCHlch(63.0 96.9 324.1)
OKLCHoklch(0.715 0.263 323.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec55ff on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#ec55ff on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green33.3%
Blue100.0%

CMYK percentages

Cyan7.5%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ec55ff text on a black background

contrast 7.31:1

Card sample

#ec55ff text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec55ff in the Color Lab