Skip to content
Kolorvia
#af7b9f

Color #af7b9f

A muted medium magenta.

Conversions

HEX
#af7b9f
RGB
rgb(175, 123, 159)
HSL
hsl(318.5, 24.5%, 58.4%)
HSV / HSB
hsv(318.5, 29.7%, 68.6%)
CMYK
cmyk(0%, 29.7%, 9.1%, 31.4%)
LAB
lab(57.83, 26.01, -11.18)
LCH
lch(57.83, 28.31, 336.74)
OKLCH
oklch(64.7%, 0.0808, 338.42)
HWB
hwb(318.5, 48.2%, 31.4%)

Harmony colors

Complementary

#7baf8b

Analogous

#a57baf
#af7b9f
#af7b85

Triadic

#af7b9f
#9faf7b
#7b9faf

Split-complementary

#af7b9f
#85af7b
#7bafa5

Tetradic

#af7b9f
#af8b7b
#7baf8b
#7b9faf

Square

#af7b9f
#afa57b
#7baf8b
#7b85af

Shades

Color #af7b9f mixed toward black.

#9b5e88
#7c4b6d
#5d3851
#3e2536
#1f131b

Tints

Color #af7b9f mixed toward white.

#bc91af
#caa7bf
#d7bdcf
#e4d3df
#f2e9ef

Tones

Color #af7b9f mixed toward gray.

#ab7f9d
#a6849c
#a2889a
#9e8c98
#999197

Accessibility

Aa White text on this color
3.41:1
Aa Black text on this color
6.16:1

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

Under color vision deficiencies

Protanopia

#9b9b97 · ΔE 24.4

Deuteranopia

#9ea295 · ΔE 31.8

Tritanopia

#ad918f · ΔE 14.9

Achromatopsia

#8b8b8b · ΔE 20.7

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#af7b9f (#af7b9f) is rgb(175, 123, 159) in RGB.

No, #af7b9f 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 #af7b9f, 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.