Skip to content

#ff2ffd

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

RGB
255, 47, 253
HSL
301°, 100%, 59%
CMYK
0, 82, 1, 0
Luminance
0.3038

Every format

HEX#ff2ffd
RGBrgb(255, 47, 253)
HSLhsl(301, 100%, 59%)
CMYKcmyk(0%, 82%, 1%, 0%)
LABlab(62.0 92.7 -57.1)
LCHlch(62.0 108.9 328.4)
OKLCHoklch(0.713 0.304 328.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2ffd on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#ff2ffd on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green18.4%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow0.8%
Key (black)0.0%

Color previews

#ff2ffd text on a black background

contrast 7.08:1

Card sample

#ff2ffd text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2ffd in the Color Lab