Skip to content

#f9ccf2

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

RGB
249, 204, 242
HSL
309°, 79%, 89%
CMYK
0, 18, 3, 2
Luminance
0.6974

Every format

HEX#f9ccf2
RGBrgb(249, 204, 242)
HSLhsl(309, 79%, 89%)
CMYKcmyk(0%, 18%, 3%, 2%)
LABlab(86.9 22.1 -12.7)
LCHlch(86.9 25.5 330.1)
OKLCHoklch(0.895 0.071 331.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red97.6%
Green80.0%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta18.1%
Yellow2.8%
Key (black)2.4%

Color previews

#f9ccf2 text on a black background

contrast 14.95:1

Card sample

#f9ccf2 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9ccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9ccf2 in the Color Lab