Skip to content

#f960f2

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

RGB
249, 96, 242
HSL
303°, 93%, 68%
CMYK
0, 61, 3, 2
Luminance
0.3492

Every format

HEX#f960f2
RGBrgb(249, 96, 242)
HSLhsl(303, 93%, 68%)
CMYKcmyk(0%, 61%, 3%, 2%)
LABlab(65.7 75.1 -45.2)
LCHlch(65.7 87.6 329.0)
OKLCHoklch(0.736 0.246 329.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f960f2 on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#f960f2 on black: 7.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green37.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta61.4%
Yellow2.8%
Key (black)2.4%

Color previews

#f960f2 text on a black background

contrast 7.98:1

Card sample

#f960f2 text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f960f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f960f2 in the Color Lab