Skip to content

#f9f0f9

a pale, soft magenta / pink · warm · closest name: white

RGB
249, 240, 249
HSL
300°, 43%, 96%
CMYK
0, 4, 0, 2
Luminance
0.8930

Every format

HEX#f9f0f9
RGBrgb(249, 240, 249)
HSLhsl(300, 43%, 96%)
CMYKcmyk(0%, 4%, 0%, 2%)
LABlab(95.7 4.6 -3.3)
LCHlch(95.7 5.6 324.6)
OKLCHoklch(0.965 0.015 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9f0f9 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#f9f0f9 on black: 18.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green94.1%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta3.6%
Yellow0.0%
Key (black)2.4%

Color previews

#f9f0f9 text on a black background

contrast 18.86:1

Card sample

#f9f0f9 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9f0f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9f0f9 in the Color Lab