Skip to content

#ff99fc

a light, electric magenta / pink · warm · closest name: violet

RGB
255, 153, 252
HSL
302°, 100%, 80%
CMYK
0, 40, 1, 0
Luminance
0.5107

Every format

HEX#ff99fc
RGBrgb(255, 153, 252)
HSLhsl(302, 100%, 80%)
CMYKcmyk(0%, 40%, 1%, 0%)
LABlab(76.7 52.3 -33.4)
LCHlch(76.7 62.0 327.4)
OKLCHoklch(0.821 0.172 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff99fc on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#ff99fc on black: 11.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green60.0%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow1.2%
Key (black)0.0%

Color previews

#ff99fc text on a black background

contrast 11.21:1

Card sample

#ff99fc text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff99fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff99fc in the Color Lab