Skip to content

#f902fd

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

RGB
249, 2, 253
HSL
299°, 98%, 50%
CMYK
2, 99, 0, 1
Luminance
0.2728

Every format

HEX#f902fd
RGBrgb(249, 2, 253)
HSLhsl(299, 98%, 50%)
CMYKcmyk(2%, 99%, 0%, 1%)
LABlab(59.2 96.9 -61.5)
LCHlch(59.2 114.8 327.6)
OKLCHoklch(0.692 0.319 327.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f902fd on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#f902fd on black: 6.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green0.8%
Blue99.2%

CMYK percentages

Cyan1.6%
Magenta99.2%
Yellow0.0%
Key (black)0.8%

Color previews

#f902fd text on a black background

contrast 6.46:1

Card sample

#f902fd text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f902fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f902fd in the Color Lab