Skip to content
Kolorvia
#af97af

Color #af97af

A nearly neutral, gray-leaning light magenta.

Conversions

HEX
#af97af
RGB
rgb(175, 151, 175)
HSL
hsl(300, 13%, 63.9%)
HSV / HSB
hsv(300, 13.7%, 68.6%)
CMYK
cmyk(0%, 13.7%, 0%, 31.4%)
LAB
lab(65.23, 13.23, -9.2)
LCH
lch(65.23, 16.11, 325.19)
OKLCH
oklch(70.5%, 0.0439, 326.06)
HWB
hwb(300, 59.2%, 31.4%)

Harmony colors

Complementary

#97af97

Analogous

#a397af
#af97af
#af97a3

Triadic

#af97af
#afaf97
#97afaf

Split-complementary

#af97af
#a3af97
#97afa3

Tetradic

#af97af
#af9797
#97af97
#97afaf

Square

#af97af
#afa397
#97af97
#97a3af

Shades

Color #af97af mixed toward black.

#977897
#7b5f7b
#5c475c
#3d2f3d
#1f181f

Tints

Color #af97af mixed toward white.

#bca8bc
#cabaca
#d7cbd7
#e4dce4
#f2eef2

Tones

Color #af97af mixed toward gray.

#ad99ad
#ab9bab
#a99da9
#a79fa7
#a5a1a5

Accessibility

Aa White text on this color
2.67:1
Aa Black text on this color
7.87:1

Black text reads better on this background (7.87:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#a5a5aa · ΔE 12.9

Deuteranopia

#a7a8a8 · ΔE 15.2

Tritanopia

#aea5a4 · ΔE 12.5

Achromatopsia

#9e9e9e · ΔE 14.6

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

Code

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

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#af97af (#af97af) is rgb(175, 151, 175) in RGB.

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