Skip to content

#f6def6

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

RGB
246, 222, 246
HSL
300°, 57%, 92%
CMYK
0, 10, 0, 4
Luminance
0.7849

Every format

HEX#f6def6
RGBrgb(246, 222, 246)
HSLhsl(300, 57%, 92%)
CMYKcmyk(0%, 10%, 0%, 4%)
LABlab(91.0 12.3 -8.7)
LCHlch(91.0 15.1 325.0)
OKLCHoklch(0.927 0.041 325.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green87.1%
Blue96.5%

CMYK percentages

Cyan0.0%
Magenta9.8%
Yellow0.0%
Key (black)3.5%

Color previews

#f6def6 text on a black background

contrast 16.70:1

Card sample

#f6def6 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6def6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6def6 in the Color Lab