Skip to content
Kolorvia
#af2281

Color #af2281

A moderately saturated medium magenta.

Conversions

HEX
#af2281
RGB
rgb(175, 34, 129)
HSL
hsl(319.6, 67.5%, 41%)
HSV / HSB
hsv(319.6, 80.6%, 68.6%)
CMYK
cmyk(0%, 80.6%, 26.3%, 31.4%)
LAB
lab(40.97, 62.43, -18.92)
LCH
lch(40.97, 65.23, 343.14)
OKLCH
oklch(51.7%, 0.1962, 345.11)
HWB
hwb(319.6, 13.3%, 31.4%)

Harmony colors

Complementary

#22af50

Analogous

#9722af
#af2281
#af223a

Triadic

#af2281
#81af22
#2281af

Split-complementary

#af2281
#3aaf22
#22af97

Tetradic

#af2281
#af5022
#22af50
#2281af

Square

#af2281
#af9722
#22af50
#223aaf

Shades

Color #af2281 mixed toward black.

#921c6c
#751756
#581141
#3a0b2b
#1d0616

Tints

Color #af2281 mixed toward white.

#d62d9f
#de57b2
#e781c5
#efabd9
#f7d5ec

Tones

Color #af2281 mixed toward gray.

#a32e7d
#983a79
#8c4575
#805171
#745d6d

Accessibility

Aa White text on this color
6.23:1
Aa Black text on this color
3.37:1

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

Under color vision deficiencies

Protanopia

#898873 · ΔE 43.3

Deuteranopia

#8f966f · ΔE 54.3

Tritanopia

#ab6562 · ΔE 22.5

Achromatopsia

#616161 · ΔE 26.8

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

Code

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

Related colors

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

Frequently asked questions

#af2281 (#af2281) is rgb(175, 34, 129) in RGB.

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