Skip to content

#f6def7

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

RGB
246, 222, 247
HSL
298°, 61%, 92%
CMYK
0, 10, 0, 3
Luminance
0.7855

Every format

HEX#f6def7
RGBrgb(246, 222, 247)
HSLhsl(298, 61%, 92%)
CMYKcmyk(0%, 10%, 0%, 3%)
LABlab(91.0 12.5 -9.1)
LCHlch(91.0 15.5 323.9)
OKLCHoklch(0.927 0.042 324.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.4%
Magenta10.1%
Yellow0.0%
Key (black)3.1%

Color previews

#f6def7 text on a black background

contrast 16.71:1

Card sample

#f6def7 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6def7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6def7 in the Color Lab