Skip to content

#af7dab

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

RGB
175, 125, 171
HSL
305°, 24%, 59%
CMYK
0, 29, 2, 31
Luminance
0.2672

Every format

HEX#af7dab
RGBrgb(175, 125, 171)
HSLhsl(305, 24%, 59%)
CMYKcmyk(0%, 29%, 2%, 31%)
LABlab(58.7 27.1 -16.7)
LCHlch(58.7 31.8 328.3)
OKLCHoklch(0.655 0.088 329.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7dab on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#af7dab on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green49.0%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta28.6%
Yellow2.3%
Key (black)31.4%

Color previews

#af7dab text on a black background

contrast 6.34:1

Card sample

#af7dab text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7dab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7dab in the Color Lab