Skip to content

#af7fac

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

RGB
175, 127, 172
HSL
304°, 23%, 59%
CMYK
0, 27, 2, 31
Luminance
0.2727

Every format

HEX#af7fac
RGBrgb(175, 127, 172)
HSLhsl(304, 23%, 59%)
CMYKcmyk(0%, 27%, 2%, 31%)
LABlab(59.2 26.2 -16.5)
LCHlch(59.2 30.9 327.7)
OKLCHoklch(0.659 0.086 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7fac on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#af7fac on black: 6.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green49.8%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow1.7%
Key (black)31.4%

Color previews

#af7fac text on a black background

contrast 6.45:1

Card sample

#af7fac text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7fac in the Color Lab