Skip to content

#f6cef2

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

RGB
246, 206, 242
HSL
306°, 69%, 89%
CMYK
0, 16, 2, 4
Luminance
0.7015

Every format

HEX#f6cef2
RGBrgb(246, 206, 242)
HSLhsl(306, 69%, 89%)
CMYKcmyk(0%, 16%, 2%, 4%)
LABlab(87.1 20.0 -12.4)
LCHlch(87.1 23.6 328.2)
OKLCHoklch(0.896 0.065 329.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6cef2 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f6cef2 on black: 15.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green80.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta16.3%
Yellow1.6%
Key (black)3.5%

Color previews

#f6cef2 text on a black background

contrast 15.03:1

Card sample

#f6cef2 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6cef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6cef2 in the Color Lab