Skip to content

#ffbac7

a pale, electric red · warm · closest name: pink

RGB
255, 186, 199
HSL
349°, 100%, 87%
CMYK
0, 27, 22, 0
Luminance
0.6050

Every format

HEX#ffbac7
RGBrgb(255, 186, 199)
HSLhsl(349, 100%, 87%)
CMYKcmyk(0%, 27%, 22%, 0%)
LABlab(82.1 26.7 3.3)
LCHlch(82.1 26.9 7.1)
OKLCHoklch(0.856 0.081 6.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbac7 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#ffbac7 on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow22.0%
Key (black)0.0%

Color previews

#ffbac7 text on a black background

contrast 13.10:1

Card sample

#ffbac7 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbac7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbac7 in the Color Lab