Skip to content
Kolorvia
#af2981

Color #af2981

A moderately saturated medium magenta.

Conversions

HEX
#af2981
RGB
rgb(175, 41, 129)
HSL
hsl(320.6, 62%, 42.4%)
HSV / HSB
hsv(320.6, 76.6%, 68.6%)
CMYK
cmyk(0%, 76.6%, 26.3%, 31.4%)
LAB
lab(41.67, 60.43, -17.85)
LCH
lch(41.67, 63.01, 343.54)
OKLCH
oklch(52.2%, 0.1894, 345.51)
HWB
hwb(320.6, 16.1%, 31.4%)

Harmony colors

Complementary

#29af57

Analogous

#9a29af
#af2981
#af293e

Triadic

#af2981
#81af29
#2981af

Split-complementary

#af2981
#3eaf29
#29af9a

Tetradic

#af2981
#af5729
#29af57
#2981af

Square

#af2981
#af9a29
#29af57
#293eaf

Shades

Color #af2981 mixed toward black.

#92226c
#751b56
#581541
#3a0e2b
#1d0716

Tints

Color #af2981 mixed toward white.

#d0399c
#da60b0
#e388c4
#ecb0d8
#f6d7eb

Tones

Color #af2981 mixed toward gray.

#a4347e
#993f7a
#8e4b77
#825673
#776170

Accessibility

Aa White text on this color
6.07:1
Aa Black text on this color
3.46:1

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

Under color vision deficiencies

Protanopia

#8a8973 · ΔE 43.2

Deuteranopia

#8f966f · ΔE 53.5

Tritanopia

#ab6663 · ΔE 21.9

Achromatopsia

#626262 · ΔE 26.5

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Lavender Blush #fff0f5
Pale Violet Red #db7093

Frequently asked questions

#af2981 (#af2981) is rgb(175, 41, 129) in RGB.

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