Skip to content
Kolorvia
#a6298b

Color #a6298b

A moderately saturated medium magenta.

Conversions

HEX
#a6298b
RGB
rgb(166, 41, 139)
HSL
hsl(313, 60.4%, 40.6%)
HSV / HSB
hsv(313, 75.3%, 65.1%)
CMYK
cmyk(0%, 75.3%, 16.3%, 34.9%)
LAB
lab(40.51, 59.57, -25.91)
LCH
lch(40.51, 64.96, 336.49)
OKLCH
oklch(51.2%, 0.19, 338.28)
HWB
hwb(313, 16.1%, 34.9%)

Harmony colors

Complementary

#29a644

Analogous

#8329a6
#a6298b
#a6294c

Triadic

#a6298b
#8ba629
#298ba6

Split-complementary

#a6298b
#4ca629
#29a683

Tetradic

#a6298b
#a64429
#29a644
#298ba6

Square

#a6298b
#a68329
#29a644
#294ca6

Shades

Color #a6298b mixed toward black.

#8a2274
#6f1b5d
#531445
#370e2e
#1c0717

Tints

Color #a6298b mixed toward white.

#cd35ac
#d75dbd
#e186cd
#ebaede
#f5d7ee

Tones

Color #a6298b mixed toward gray.

#9c3385
#913e7f
#874879
#7c5373
#725d6d

Accessibility

Aa White text on this color
6.34:1
Aa Black text on this color
3.31:1

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

Under color vision deficiencies

Protanopia

#83827c · ΔE 34.2

Deuteranopia

#888f78 · ΔE 48.1

Tritanopia

#a26e6b · ΔE 25

Achromatopsia

#5f5f5f · ΔE 26.7

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

Code

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

Related colors

Medium Violet Red #c71585
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#a6298b (#a6298b) is rgb(166, 41, 139) in RGB.

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