Skip to content

#ffbac4

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

RGB
255, 186, 196
HSL
351°, 100%, 87%
CMYK
0, 27, 23, 0
Luminance
0.6036

Every format

HEX#ffbac4
RGBrgb(255, 186, 196)
HSLhsl(351, 100%, 87%)
CMYKcmyk(0%, 27%, 23%, 0%)
LABlab(82.0 26.3 4.8)
LCHlch(82.0 26.7 10.4)
OKLCHoklch(0.855 0.081 9.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green72.9%
Blue76.9%

CMYK percentages

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

Color previews

#ffbac4 text on a black background

contrast 13.07:1

Card sample

#ffbac4 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffbac4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffbac4 in the Color Lab