Skip to content

#f5e6f2

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

RGB
245, 230, 242
HSL
312°, 43%, 93%
CMYK
0, 6, 1, 4
Luminance
0.8242

Every format

HEX#f5e6f2
RGBrgb(245, 230, 242)
HSLhsl(312, 43%, 93%)
CMYKcmyk(0%, 6%, 1%, 4%)
LABlab(92.8 7.2 -4.0)
LCHlch(92.8 8.2 330.9)
OKLCHoklch(0.940 0.023 332.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5e6f2 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#f5e6f2 on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green90.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta6.1%
Yellow1.2%
Key (black)3.9%

Color previews

#f5e6f2 text on a black background

contrast 17.48:1

Card sample

#f5e6f2 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5e6f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5e6f2 in the Color Lab