Skip to content

#ff00ff

a balanced, electric magenta / pink · warm · “magenta”

RGB
255, 0, 255
HSL
300°, 100%, 50%
CMYK
0, 100, 0, 0
Luminance
0.2848

Every format

HEX#ff00ff
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 0%)
LABlab(60.3 98.2 -60.8)
LCHlch(60.3 115.5 328.2)
OKLCHoklch(0.702 0.323 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff00ff on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#ff00ff on black: 6.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green0.0%
Blue100.0%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ff00ff text on a black background

contrast 6.70:1

Card sample

#ff00ff text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff00ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff00ff in the Color Lab