Skip to content

#ffbacf

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

RGB
255, 186, 207
HSL
342°, 100%, 87%
CMYK
0, 27, 19, 0
Luminance
0.6088

Every format

HEX#ffbacf
RGBrgb(255, 186, 207)
HSLhsl(342, 100%, 87%)
CMYKcmyk(0%, 27%, 19%, 0%)
LABlab(82.3 27.9 -0.7)
LCHlch(82.3 27.9 358.6)
OKLCHoklch(0.858 0.084 359.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbacf on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ffbacf on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow18.8%
Key (black)0.0%

Color previews

#ffbacf text on a black background

contrast 13.18:1

Card sample

#ffbacf text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbacf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbacf in the Color Lab