Skip to content

#f9dcf0

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

RGB
249, 220, 240
HSL
319°, 71%, 92%
CMYK
0, 12, 4, 2
Luminance
0.7762

Every format

HEX#f9dcf0
RGBrgb(249, 220, 240)
HSLhsl(319, 71%, 92%)
CMYKcmyk(0%, 12%, 4%, 2%)
LABlab(90.6 13.3 -6.1)
LCHlch(90.6 14.7 335.5)
OKLCHoklch(0.924 0.041 337.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9dcf0 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f9dcf0 on black: 16.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green86.3%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta11.6%
Yellow3.6%
Key (black)2.4%

Color previews

#f9dcf0 text on a black background

contrast 16.52:1

Card sample

#f9dcf0 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9dcf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9dcf0 in the Color Lab