Skip to content

#ff2dfc

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

RGB
255, 45, 252
HSL
301°, 100%, 59%
CMYK
0, 82, 1, 0
Luminance
0.3017

Every format

HEX#ff2dfc
RGBrgb(255, 45, 252)
HSLhsl(301, 100%, 59%)
CMYKcmyk(0%, 82%, 1%, 0%)
LABlab(61.8 93.0 -56.8)
LCHlch(61.8 109.0 328.6)
OKLCHoklch(0.712 0.305 328.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green17.6%
Blue98.8%

CMYK percentages

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

Color previews

#ff2dfc text on a black background

contrast 7.03:1

Card sample

#ff2dfc text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2dfc in the Color Lab