Skip to content

#ffaccf

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

RGB
255, 172, 207
HSL
335°, 100%, 84%
CMYK
0, 33, 19, 0
Luminance
0.5527

Every format

HEX#ffaccf
RGBrgb(255, 172, 207)
HSLhsl(335, 100%, 84%)
CMYKcmyk(0%, 33%, 19%, 0%)
LABlab(79.2 35.2 -5.3)
LCHlch(79.2 35.6 351.5)
OKLCHoklch(0.834 0.106 352.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffaccf on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#ffaccf on black: 12.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green67.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow18.8%
Key (black)0.0%

Color previews

#ffaccf text on a black background

contrast 12.05:1

Card sample

#ffaccf text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaccf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaccf in the Color Lab