Skip to content

#f998df

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

RGB
249, 152, 223
HSL
316°, 89%, 79%
CMYK
0, 39, 10, 2
Luminance
0.4792

Every format

HEX#f998df
RGBrgb(249, 152, 223)
HSLhsl(316, 89%, 79%)
CMYKcmyk(0%, 39%, 10%, 2%)
LABlab(74.8 46.1 -20.7)
LCHlch(74.8 50.5 335.8)
OKLCHoklch(0.801 0.145 337.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f998df on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#f998df on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green59.6%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta39.0%
Yellow10.4%
Key (black)2.4%

Color previews

#f998df text on a black background

contrast 10.58:1

Card sample

#f998df text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f998df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f998df in the Color Lab