Skip to content

#ffbac5

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

RGB
255, 186, 197
HSL
350°, 100%, 87%
CMYK
0, 27, 23, 0
Luminance
0.6041

Every format

HEX#ffbac5
RGBrgb(255, 186, 197)
HSLhsl(350, 100%, 87%)
CMYKcmyk(0%, 27%, 23%, 0%)
LABlab(82.1 26.4 4.3)
LCHlch(82.1 26.8 9.3)
OKLCHoklch(0.856 0.081 8.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffbac5 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#ffbac5 on black: 13.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green72.9%
Blue77.3%

CMYK percentages

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

Color previews

#ffbac5 text on a black background

contrast 13.08:1

Card sample

#ffbac5 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbac5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbac5 in the Color Lab