Skip to content

#ff2cdc

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

RGB
255, 44, 220
HSL
310°, 100%, 59%
CMYK
0, 83, 14, 0
Luminance
0.2823

Every format

HEX#ff2cdc
RGBrgb(255, 44, 220)
HSLhsl(310, 100%, 59%)
CMYKcmyk(0%, 83%, 14%, 0%)
LABlab(60.1 88.8 -41.6)
LCHlch(60.1 98.1 334.9)
OKLCHoklch(0.694 0.285 336.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2cdc on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#ff2cdc on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.3%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta82.7%
Yellow13.7%
Key (black)0.0%

Color previews

#ff2cdc text on a black background

contrast 6.65:1

Card sample

#ff2cdc text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2cdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2cdc in the Color Lab