Skip to content

#f7dfef

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

RGB
247, 223, 239
HSL
320°, 60%, 92%
CMYK
0, 10, 3, 3
Luminance
0.7878

Every format

HEX#f7dfef
RGBrgb(247, 223, 239)
HSLhsl(320, 60%, 92%)
CMYKcmyk(0%, 10%, 3%, 3%)
LABlab(91.1 10.9 -4.8)
LCHlch(91.1 11.9 336.4)
OKLCHoklch(0.928 0.034 338.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7dfef on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#f7dfef on black: 16.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green87.5%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow3.2%
Key (black)3.1%

Color previews

#f7dfef text on a black background

contrast 16.76:1

Card sample

#f7dfef text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 223, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 223, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7dfef;
background: linear-gradient(135deg, #f7dfef, #F7DFDF);

Monochromatic scale

Palettes built from #f7dfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7dfef in the Color Lab