Skip to content

#f2badf

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

RGB
242, 186, 223
HSL
320°, 68%, 84%
CMYK
0, 23, 8, 5
Luminance
0.5932

Every format

HEX#f2badf
RGBrgb(242, 186, 223)
HSLhsl(320, 68%, 84%)
CMYKcmyk(0%, 23%, 8%, 5%)
LABlab(81.5 25.9 -10.7)
LCHlch(81.5 28.1 337.6)
OKLCHoklch(0.850 0.080 339.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2badf on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#f2badf on black: 12.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green72.9%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta23.1%
Yellow7.9%
Key (black)5.1%

Color previews

#f2badf text on a black background

contrast 12.86:1

Card sample

#f2badf text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2badf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2badf in the Color Lab