Skip to content

#f97df0

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

RGB
249, 125, 240
HSL
304°, 91%, 73%
CMYK
0, 50, 4, 2
Luminance
0.4110

Every format

HEX#f97df0
RGBrgb(249, 125, 240)
HSLhsl(304, 91%, 73%)
CMYKcmyk(0%, 50%, 4%, 2%)
LABlab(70.3 62.2 -36.9)
LCHlch(70.3 72.3 329.3)
OKLCHoklch(0.769 0.203 330.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f97df0 on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#f97df0 on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green49.0%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta49.8%
Yellow3.6%
Key (black)2.4%

Color previews

#f97df0 text on a black background

contrast 9.22:1

Card sample

#f97df0 text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f97df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f97df0 in the Color Lab