Skip to content

#f2d8df

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

RGB
242, 216, 223
HSL
344°, 50%, 90%
CMYK
0, 11, 8, 5
Luminance
0.7332

Every format

HEX#f2d8df
RGBrgb(242, 216, 223)
HSLhsl(344, 50%, 90%)
CMYKcmyk(0%, 11%, 8%, 5%)
LABlab(88.6 10.1 -0.1)
LCHlch(88.6 10.1 359.2)
OKLCHoklch(0.906 0.030 359.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d8df on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#f2d8df on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green84.7%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow7.9%
Key (black)5.1%

Color previews

#f2d8df text on a black background

contrast 15.66:1

Card sample

#f2d8df text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d8df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d8df in the Color Lab