Skip to content

#faf0f7

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

RGB
250, 240, 247
HSL
318°, 50%, 96%
CMYK
0, 4, 1, 2
Luminance
0.8936

Every format

HEX#faf0f7
RGBrgb(250, 240, 247)
HSLhsl(318, 50%, 96%)
CMYKcmyk(0%, 4%, 1%, 2%)
LABlab(95.7 4.6 -2.2)
LCHlch(95.7 5.0 334.6)
OKLCHoklch(0.965 0.014 336.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green94.1%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow1.2%
Key (black)2.0%

Color previews

#faf0f7 text on a black background

contrast 18.87:1

Card sample

#faf0f7 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf0f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf0f7 in the Color Lab