Skip to content

#f9eaf2

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

RGB
249, 234, 242
HSL
328°, 56%, 95%
CMYK
0, 6, 3, 2
Luminance
0.8540

Every format

HEX#f9eaf2
RGBrgb(249, 234, 242)
HSLhsl(328, 56%, 95%)
CMYKcmyk(0%, 6%, 3%, 2%)
LABlab(94.0 6.4 -2.0)
LCHlch(94.0 6.8 342.4)
OKLCHoklch(0.951 0.019 343.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9eaf2 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#f9eaf2 on black: 18.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green91.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta6.0%
Yellow2.8%
Key (black)2.4%

Color previews

#f9eaf2 text on a black background

contrast 18.08:1

Card sample

#f9eaf2 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9eaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9eaf2 in the Color Lab