Skip to content

#ff2cfc

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

RGB
255, 44, 252
HSL
301°, 100%, 59%
CMYK
0, 83, 1, 0
Luminance
0.3009

Every format

HEX#ff2cfc
RGBrgb(255, 44, 252)
HSLhsl(301, 100%, 59%)
CMYKcmyk(0%, 83%, 1%, 0%)
LABlab(61.7 93.2 -56.9)
LCHlch(61.7 109.2 328.6)
OKLCHoklch(0.711 0.305 328.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2cfc on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#ff2cfc on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.3%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta82.7%
Yellow1.2%
Key (black)0.0%

Color previews

#ff2cfc text on a black background

contrast 7.02:1

Card sample

#ff2cfc text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2cfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2cfc in the Color Lab