Skip to content

#f9d2f8

a pale, electric magenta / pink · warm · closest name: lavender

RGB
249, 210, 248
HSL
302°, 77%, 90%
CMYK
0, 16, 0, 2
Luminance
0.7301

Every format

HEX#f9d2f8
RGBrgb(249, 210, 248)
HSLhsl(302, 77%, 90%)
CMYKcmyk(0%, 16%, 0%, 2%)
LABlab(88.5 20.0 -13.5)
LCHlch(88.5 24.1 326.0)
OKLCHoklch(0.908 0.066 326.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9d2f8 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f9d2f8 on black: 15.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green82.4%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow0.4%
Key (black)2.4%

Color previews

#f9d2f8 text on a black background

contrast 15.60:1

Card sample

#f9d2f8 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9d2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9d2f8 in the Color Lab