Skip to content

#af5992

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

RGB
175, 89, 146
HSL
320°, 35%, 52%
CMYK
0, 49, 17, 31
Luminance
0.1833

Every format

HEX#af5992
RGBrgb(175, 89, 146)
HSLhsl(320, 35%, 52%)
CMYKcmyk(0%, 49%, 17%, 31%)
LABlab(49.9 42.3 -15.6)
LCHlch(49.9 45.1 339.8)
OKLCHoklch(0.585 0.132 341.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af5992 on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#af5992 on black: 4.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green34.9%
Blue57.3%

CMYK percentages

Cyan0.0%
Magenta49.1%
Yellow16.6%
Key (black)31.4%

Color previews

#af5992 text on a black background

contrast 4.67:1

Card sample

#af5992 text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af5992

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af5992 in the Color Lab