Skip to content

#ff2cfb

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

RGB
255, 44, 251
HSL
301°, 100%, 59%
CMYK
0, 83, 2, 0
Luminance
0.3003

Every format

HEX#ff2cfb
RGBrgb(255, 44, 251)
HSLhsl(301, 100%, 59%)
CMYKcmyk(0%, 83%, 2%, 0%)
LABlab(61.7 93.0 -56.4)
LCHlch(61.7 108.8 328.8)
OKLCHoklch(0.711 0.305 329.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2cfb on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#ff2cfb on black: 7.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green17.3%
Blue98.4%

CMYK percentages

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

Color previews

#ff2cfb text on a black background

contrast 7.01:1

Card sample

#ff2cfb text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2cfb in the Color Lab