Skip to content

#f982db

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

RGB
249, 130, 219
HSL
315°, 91%, 74%
CMYK
0, 48, 12, 2
Luminance
0.4122

Every format

HEX#f982db
RGBrgb(249, 130, 219)
HSLhsl(315, 91%, 74%)
CMYKcmyk(0%, 48%, 12%, 2%)
LABlab(70.3 56.4 -25.2)
LCHlch(70.3 61.8 335.9)
OKLCHoklch(0.767 0.178 337.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f982db on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#f982db on black: 9.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green51.0%
Blue85.9%

CMYK percentages

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

Color previews

#f982db text on a black background

contrast 9.24:1

Card sample

#f982db text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f982db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f982db in the Color Lab