Skip to content

#f9dcf2

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

RGB
249, 220, 242
HSL
315°, 71%, 92%
CMYK
0, 12, 3, 2
Luminance
0.7774

Every format

HEX#f9dcf2
RGBrgb(249, 220, 242)
HSLhsl(315, 71%, 92%)
CMYKcmyk(0%, 12%, 3%, 2%)
LABlab(90.7 13.7 -7.0)
LCHlch(90.7 15.4 332.8)
OKLCHoklch(0.925 0.043 334.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green86.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta11.6%
Yellow2.8%
Key (black)2.4%

Color previews

#f9dcf2 text on a black background

contrast 16.55:1

Card sample

#f9dcf2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9dcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9dcf2 in the Color Lab