Skip to content

#f95df2

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

RGB
249, 93, 242
HSL
303°, 93%, 67%
CMYK
0, 63, 3, 2
Luminance
0.3438

Every format

HEX#f95df2
RGBrgb(249, 93, 242)
HSLhsl(303, 93%, 67%)
CMYKcmyk(0%, 63%, 3%, 2%)
LABlab(65.3 76.3 -45.8)
LCHlch(65.3 89.0 329.0)
OKLCHoklch(0.733 0.249 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f95df2 on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#f95df2 on black: 7.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green36.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta62.7%
Yellow2.8%
Key (black)2.4%

Color previews

#f95df2 text on a black background

contrast 7.88:1

Card sample

#f95df2 text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f95df2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f95df2 in the Color Lab