Skip to content

#f6def2

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

RGB
246, 222, 242
HSL
310°, 57%, 92%
CMYK
0, 10, 2, 4
Luminance
0.7825

Every format

HEX#f6def2
RGBrgb(246, 222, 242)
HSLhsl(310, 57%, 92%)
CMYKcmyk(0%, 10%, 2%, 4%)
LABlab(90.9 11.6 -6.7)
LCHlch(90.9 13.4 330.0)
OKLCHoklch(0.926 0.037 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6def2 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f6def2 on black: 16.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green87.1%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta9.8%
Yellow1.6%
Key (black)3.5%

Color previews

#f6def2 text on a black background

contrast 16.65:1

Card sample

#f6def2 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6def2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6def2 in the Color Lab