Skip to content
Kolorvia
#af40bf

Color #af40bf

A moderately saturated medium magenta.

Conversions

HEX
#af40bf
RGB
rgb(175, 64, 191)
HSL
hsl(292.4, 49.8%, 50%)
HSV / HSB
hsv(292.4, 66.5%, 74.9%)
CMYK
cmyk(8.4%, 66.5%, 0%, 25.1%)
LAB
lab(47.68, 61.8, -45.48)
LCH
lch(47.68, 76.73, 323.65)
OKLCH
oklch(57.6%, 0.2079, 322.41)
HWB
hwb(292.4, 25.1%, 25.1%)

Harmony colors

Complementary

#50bf40

Analogous

#6f40bf
#af40bf
#bf4090

Triadic

#af40bf
#bfaf40
#40bfaf

Split-complementary

#af40bf
#90bf40
#40bf6f

Tetradic

#af40bf
#bf4050
#50bf40
#40bfaf

Square

#af40bf
#bf6f40
#50bf40
#4090bf

Shades

Color #af40bf mixed toward black.

#92359f
#752b7f
#57205f
#3a1540
#1d0b20

Tints

Color #af40bf mixed toward white.

#bc60ca
#ca80d4
#d7a0df
#e4bfea
#f2dff4

Tones

Color #af40bf mixed toward gray.

#a74bb4
#9f55aa
#97609f
#8f6a95
#87758a

Accessibility

Aa White text on this color
4.87:1
Aa Black text on this color
4.31:1

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

Under color vision deficiencies

Protanopia

#8d8cab · ΔE 24

Deuteranopia

#9298a6 · ΔE 27

Tritanopia

#ab9994 · ΔE 33.1

Achromatopsia

#717171 · ΔE 28.2

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

Code

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

Related colors

Medium Orchid #ba55d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#af40bf (#af40bf) is rgb(175, 64, 191) in RGB.

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