Skip to content

#ff02fd

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

RGB
255, 2, 253
HSL
301°, 100%, 50%
CMYK
0, 99, 1, 0
Luminance
0.2840

Every format

HEX#ff02fd
RGBrgb(255, 2, 253)
HSLhsl(301, 100%, 50%)
CMYKcmyk(0%, 99%, 1%, 0%)
LABlab(60.3 97.8 -59.8)
LCHlch(60.3 114.7 328.5)
OKLCHoklch(0.701 0.321 328.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green0.8%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta99.2%
Yellow0.8%
Key (black)0.0%

Color previews

#ff02fd text on a black background

contrast 6.68:1

Card sample

#ff02fd text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff02fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff02fd in the Color Lab