Skip to content
Kolorvia
#af5a9d

Color #af5a9d

A muted medium magenta.

Conversions

HEX
#af5a9d
RGB
rgb(175, 90, 157)
HSL
hsl(312.7, 34.7%, 52%)
HSV / HSB
hsv(312.7, 48.6%, 68.6%)
CMYK
cmyk(0%, 48.6%, 10.3%, 31.4%)
LAB
lab(50.53, 43.64, -21.1)
LCH
lch(50.53, 48.47, 334.2)
OKLCH
oklch(59.1%, 0.1387, 335.73)
HWB
hwb(312.7, 35.3%, 31.4%)

Harmony colors

Complementary

#5aaf6c

Analogous

#975aaf
#af5a9d
#af5a73

Triadic

#af5a9d
#9daf5a
#5a9daf

Split-complementary

#af5a9d
#73af5a
#5aaf97

Tetradic

#af5a9d
#af6c5a
#5aaf6c
#5a9daf

Square

#af5a9d
#af975a
#5aaf6c
#5a73af

Shades

Color #af5a9d mixed toward black.

#954885
#773a6a
#592b50
#3c1d35
#1e0e1b

Tints

Color #af5a9d mixed toward white.

#bc76ad
#ca91be
#d7adce
#e4c8de
#f2e4ef

Tones

Color #af5a9d mixed toward gray.

#a86199
#a16895
#9a6f91
#93768d
#8c7e89

Accessibility

Aa White text on this color
4.4:1
Aa Black text on this color
4.77:1

Black text reads better on this background (4.77:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#929190 · ΔE 26.6

Deuteranopia

#969c8d · ΔE 38.7

Tritanopia

#ac8583 · ΔE 21.3

Achromatopsia

#787878 · ΔE 24.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #af5a9d;
Tailwind (arbitrary value)
bg-[#af5a9d]

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#af5a9d (#af5a9d) is rgb(175, 90, 157) in RGB.

No, #af5a9d is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #af5a9d, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.