Skip to content

#f5cff2

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

RGB
245, 207, 242
HSL
305°, 66%, 89%
CMYK
0, 16, 1, 4
Luminance
0.7045

Every format

HEX#f5cff2
RGBrgb(245, 207, 242)
HSLhsl(305, 66%, 89%)
CMYKcmyk(0%, 16%, 1%, 4%)
LABlab(87.2 19.2 -12.2)
LCHlch(87.2 22.7 327.5)
OKLCHoklch(0.897 0.062 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5cff2 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#f5cff2 on black: 15.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green81.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta15.5%
Yellow1.2%
Key (black)3.9%

Color previews

#f5cff2 text on a black background

contrast 15.09:1

Card sample

#f5cff2 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5cff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5cff2 in the Color Lab