Skip to content

#f2dadf

a pale, vivid red · warm · closest name: lavender

RGB
242, 218, 223
HSL
348°, 48%, 90%
CMYK
0, 10, 8, 5
Luminance
0.7435

Every format

HEX#f2dadf
RGBrgb(242, 218, 223)
HSLhsl(348, 48%, 90%)
CMYKcmyk(0%, 10%, 8%, 5%)
LABlab(89.1 9.1 0.6)
LCHlch(89.1 9.1 3.6)
OKLCHoklch(0.909 0.027 3.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dadf on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#f2dadf on black: 15.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green85.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow7.9%
Key (black)5.1%

Color previews

#f2dadf text on a black background

contrast 15.87:1

Card sample

#f2dadf text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dadf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dadf in the Color Lab