Skip to content

#af7f92

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

RGB
175, 127, 146
HSL
336°, 23%, 59%
CMYK
0, 27, 17, 31
Luminance
0.2637

Every format

HEX#af7f92
RGBrgb(175, 127, 146)
HSLhsl(336, 23%, 59%)
CMYKcmyk(0%, 27%, 17%, 31%)
LABlab(58.4 21.5 -2.9)
LCHlch(58.4 21.7 352.4)
OKLCHoklch(0.650 0.065 353.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7f92 on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#af7f92 on black: 6.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green49.8%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta27.4%
Yellow16.6%
Key (black)31.4%

Color previews

#af7f92 text on a black background

contrast 6.27:1

Card sample

#af7f92 text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7f92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af7f92 in the Color Lab