Skip to content

#f0ddf3

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

RGB
240, 221, 243
HSL
292°, 48%, 91%
CMYK
1, 9, 0, 5
Luminance
0.7671

Every format

HEX#f0ddf3
RGBrgb(240, 221, 243)
HSLhsl(292, 48%, 91%)
CMYKcmyk(1%, 9%, 0%, 5%)
LABlab(90.2 10.3 -8.3)
LCHlch(90.2 13.3 321.1)
OKLCHoklch(0.919 0.036 321.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ddf3 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f0ddf3 on black: 16.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green86.7%
Blue95.3%

CMYK percentages

Cyan1.2%
Magenta9.1%
Yellow0.0%
Key (black)4.7%

Color previews

#f0ddf3 text on a black background

contrast 16.34:1

Card sample

#f0ddf3 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ddf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ddf3 in the Color Lab