Skip to content

#f982f2

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

RGB
249, 130, 242
HSL
304°, 91%, 74%
CMYK
0, 48, 3, 2
Luminance
0.4252

Every format

HEX#f982f2
RGBrgb(249, 130, 242)
HSLhsl(304, 91%, 74%)
CMYKcmyk(0%, 48%, 3%, 2%)
LABlab(71.2 60.1 -36.5)
LCHlch(71.2 70.4 328.7)
OKLCHoklch(0.777 0.197 329.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f982f2 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#f982f2 on black: 9.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green51.0%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta47.8%
Yellow2.8%
Key (black)2.4%

Color previews

#f982f2 text on a black background

contrast 9.50:1

Card sample

#f982f2 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f982f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f982f2 in the Color Lab