Skip to content
Kolorvia
#af5f9f

Color #af5f9f

A muted medium magenta.

Conversions

HEX
#af5f9f
RGB
rgb(175, 95, 159)
HSL
hsl(312, 33.3%, 52.9%)
HSV / HSB
hsv(312, 45.7%, 68.6%)
CMYK
cmyk(0%, 45.7%, 9.1%, 31.4%)
LAB
lab(51.61, 41.37, -20.61)
LCH
lch(51.61, 46.22, 333.52)
OKLCH
oklch(60%, 0.1316, 335.01)
HWB
hwb(312, 37.3%, 31.4%)

Harmony colors

Complementary

#5faf6f

Analogous

#975faf
#af5f9f
#af5f77

Triadic

#af5f9f
#9faf5f
#5f9faf

Split-complementary

#af5f9f
#77af5f
#5faf97

Tetradic

#af5f9f
#af6f5f
#5faf6f
#5f9faf

Square

#af5f9f
#af975f
#5faf6f
#5f77af

Shades

Color #af5f9f mixed toward black.

#964b87
#783c6c
#5a2d51
#3c1e36
#1e0f1b

Tints

Color #af5f9f mixed toward white.

#bc7aaf
#ca94bf
#d7afcf
#e4cadf
#f2e4ef

Tones

Color #af5f9f mixed toward gray.

#a8669b
#a26c97
#9b7393
#947a8f
#8e808b

Accessibility

Aa White text on this color
4.23:1
Aa Black text on this color
4.96:1

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

Under color vision deficiencies

Protanopia

#939393 · ΔE 25.8

Deuteranopia

#979c90 · ΔE 36.3

Tritanopia

#ac8885 · ΔE 21.3

Achromatopsia

#7b7b7b · ΔE 24.3

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

Code

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

Related colors

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

Frequently asked questions

#af5f9f (#af5f9f) is rgb(175, 95, 159) in RGB.

No, #af5f9f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #af5f9f, 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.