Skip to content

#f5dfe2

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

RGB
245, 223, 226
HSL
352°, 52%, 92%
CMYK
0, 9, 8, 4
Luminance
0.7768

Every format

HEX#f5dfe2
RGBrgb(245, 223, 226)
HSLhsl(352, 52%, 92%)
CMYKcmyk(0%, 9%, 8%, 4%)
LABlab(90.6 8.0 1.3)
LCHlch(90.6 8.1 9.0)
OKLCHoklch(0.922 0.025 8.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5dfe2 on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f5dfe2 on black: 16.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green87.5%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta9.0%
Yellow7.8%
Key (black)3.9%

Color previews

#f5dfe2 text on a black background

contrast 16.54:1

Card sample

#f5dfe2 text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5dfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5dfe2 in the Color Lab