Skip to content

#af7aab

a balanced, soft magenta / pink · warm · closest name: plum

RGB
175, 122, 171
HSL
305°, 25%, 58%
CMYK
0, 30, 2, 31
Luminance
0.2597

Every format

HEX#af7aab
RGBrgb(175, 122, 171)
HSLhsl(305, 25%, 58%)
CMYKcmyk(0%, 30%, 2%, 31%)
LABlab(58.0 28.8 -17.8)
LCHlch(58.0 33.8 328.3)
OKLCHoklch(0.649 0.094 329.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7aab on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#af7aab on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green47.8%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta30.3%
Yellow2.3%
Key (black)31.4%

Color previews

#af7aab text on a black background

contrast 6.19:1

Card sample

#af7aab text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7aab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7aab in the Color Lab