Skip to content

#ff87ac

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

RGB
255, 135, 172
HSL
342°, 100%, 77%
CMYK
0, 47, 33, 0
Luminance
0.4157

Every format

HEX#ff87ac
RGBrgb(255, 135, 172)
HSLhsl(342, 100%, 77%)
CMYKcmyk(0%, 47%, 33%, 0%)
LABlab(70.6 49.4 1.4)
LCHlch(70.6 49.4 1.6)
OKLCHoklch(0.766 0.150 1.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff87ac on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#ff87ac on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green52.9%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta47.1%
Yellow32.5%
Key (black)0.0%

Color previews

#ff87ac text on a black background

contrast 9.31:1

Card sample

#ff87ac text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff87ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff87ac in the Color Lab