Skip to content

#ff2cec

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

RGB
255, 44, 236
HSL
305°, 100%, 59%
CMYK
0, 83, 8, 0
Luminance
0.2912

Every format

HEX#ff2cec
RGBrgb(255, 44, 236)
HSLhsl(305, 100%, 59%)
CMYKcmyk(0%, 83%, 8%, 0%)
LABlab(60.9 90.9 -49.4)
LCHlch(60.9 103.5 331.5)
OKLCHoklch(0.702 0.295 332.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2cec on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#ff2cec on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.3%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta82.7%
Yellow7.5%
Key (black)0.0%

Color previews

#ff2cec text on a black background

contrast 6.82:1

Card sample

#ff2cec text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2cec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2cec in the Color Lab