Skip to content

#ec2cff

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

RGB
236, 44, 255
HSL
295°, 100%, 59%
CMYK
8, 83, 0, 0
Luminance
0.2685

Every format

HEX#ec2cff
RGBrgb(236, 44, 255)
HSLhsl(295, 100%, 59%)
CMYKcmyk(8%, 83%, 0%, 0%)
LABlab(58.8 90.3 -63.4)
LCHlch(58.8 110.3 325.0)
OKLCHoklch(0.685 0.300 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec2cff on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#ec2cff on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green17.3%
Blue100.0%

CMYK percentages

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

Color previews

#ec2cff text on a black background

contrast 6.37:1

Card sample

#ec2cff text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2cff in the Color Lab