Skip to content

#f2bacd

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

RGB
242, 186, 205
HSL
340°, 68%, 84%
CMYK
0, 23, 15, 5
Luminance
0.5840

Every format

HEX#f2bacd
RGBrgb(242, 186, 205)
HSLhsl(340, 68%, 84%)
CMYKcmyk(0%, 23%, 15%, 5%)
LABlab(81.0 23.0 -1.7)
LCHlch(81.0 23.1 355.7)
OKLCHoklch(0.845 0.069 356.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2bacd on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#f2bacd on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green72.9%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta23.1%
Yellow15.3%
Key (black)5.1%

Color previews

#f2bacd text on a black background

contrast 12.68:1

Card sample

#f2bacd text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2bacd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2bacd in the Color Lab