Skip to content

#f2bace

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

RGB
242, 186, 206
HSL
339°, 68%, 84%
CMYK
0, 23, 15, 5
Luminance
0.5845

Every format

HEX#f2bace
RGBrgb(242, 186, 206)
HSLhsl(339, 68%, 84%)
CMYKcmyk(0%, 23%, 15%, 5%)
LABlab(81.0 23.2 -2.2)
LCHlch(81.0 23.3 354.5)
OKLCHoklch(0.845 0.069 355.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2bace on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#f2bace on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green72.9%
Blue80.8%

CMYK percentages

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

Color previews

#f2bace text on a black background

contrast 12.69:1

Card sample

#f2bace text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2bace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2bace in the Color Lab