Skip to content

#f8dcdd

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

RGB
248, 220, 221
HSL
358°, 67%, 92%
CMYK
0, 11, 11, 3
Luminance
0.7636

Every format

HEX#f8dcdd
RGBrgb(248, 220, 221)
HSLhsl(358, 67%, 92%)
CMYKcmyk(0%, 11%, 11%, 3%)
LABlab(90.0 9.8 3.0)
LCHlch(90.0 10.3 17.3)
OKLCHoklch(0.918 0.031 15.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.3%
Green86.3%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta11.3%
Yellow10.9%
Key (black)2.7%

Color previews

#f8dcdd text on a black background

contrast 16.27:1

Card sample

#f8dcdd text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8dcdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f8dcdd in the Color Lab