Skip to content

#f787af

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

RGB
247, 135, 175
HSL
339°, 88%, 75%
CMYK
0, 45, 29, 3
Luminance
0.4020

Every format

HEX#f787af
RGBrgb(247, 135, 175)
HSLhsl(339, 88%, 75%)
CMYKcmyk(0%, 45%, 29%, 3%)
LABlab(69.6 47.0 -1.8)
LCHlch(69.6 47.1 357.8)
OKLCHoklch(0.756 0.142 358.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f787af on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#f787af on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green52.9%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta45.3%
Yellow29.1%
Key (black)3.1%

Color previews

#f787af text on a black background

contrast 9.04:1

Card sample

#f787af text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f787af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f787af in the Color Lab