Skip to content

#f99df2

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

RGB
249, 157, 242
HSL
305°, 89%, 80%
CMYK
0, 37, 3, 2
Luminance
0.5066

Every format

HEX#f99df2
RGBrgb(249, 157, 242)
HSLhsl(305, 89%, 80%)
CMYKcmyk(0%, 37%, 3%, 2%)
LABlab(76.5 46.7 -28.4)
LCHlch(76.5 54.7 328.7)
OKLCHoklch(0.816 0.152 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f99df2 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#f99df2 on black: 11.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green61.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta36.9%
Yellow2.8%
Key (black)2.4%

Color previews

#f99df2 text on a black background

contrast 11.13:1

Card sample

#f99df2 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f99df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f99df2 in the Color Lab