Skip to content

#ff2ffa

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

RGB
255, 47, 250
HSL
301°, 100%, 59%
CMYK
0, 82, 2, 0
Luminance
0.3020

Every format

HEX#ff2ffa
RGBrgb(255, 47, 250)
HSLhsl(301, 100%, 59%)
CMYKcmyk(0%, 82%, 2%, 0%)
LABlab(61.8 92.3 -55.7)
LCHlch(61.8 107.8 328.9)
OKLCHoklch(0.711 0.302 329.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff2ffa on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#ff2ffa on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green18.4%
Blue98.0%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow2.0%
Key (black)0.0%

Color previews

#ff2ffa text on a black background

contrast 7.04:1

Card sample

#ff2ffa text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff2ffa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff2ffa in the Color Lab