#A7166D Color Information

Hex color code: #A7166D

The hex color #A7166D is a eye-catching magenta with RGB values of (167, 22, 109) and HSL of (324°, 77%, 37%). It is widely used in graphic design.

Try:
Color NameMedium Violet Red
HEX
#A7166D
RGB
167, 22, 109
HSL
324°, 77%, 37%
CMYK
0%, 87%, 35%, 35%

Shades

CSS Usage
color: #A7166D;
background-color: #A7166D;
border-color: #A7166D;
box-shadow: 0 0 10px #A7166D;
border: 2px solid #A7166D;
Tailwind Usage
bg-[#A7166D]
text-[#A7166D]
border-[#A7166D]
shadow-[0_0_10px_A7166D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #A7166D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #A7166D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #A7166D; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #A7166D; background-color: #A7166D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #A7166D20; border-left: 4px solid #A7166D; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #A7166D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #A7166D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 22, 109

Red: 167 / Green: 22 / Blue: 109

HSL

324°, 77%, 37%

Hue: 324° / Saturation: 77% / Lightness: 37%

CMYK

0%, 87%, 35%, 35%

Cyan: 0% / Magenta: 87% / Yellow: 35% / Key: 35%

What color is #A7166D?

#A7166D is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A7166D to RGB:

rgb(167, 22, 109)HEX to RGB Converter →

HEX to HSL

Convert #A7166D to HSL:

hsl(324, 77%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #A7166D to CMYK:

cmyk(0%, 87%, 35%, 35%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #A7166D has RGB (167, 22, 109) and HSL (324°, 77%, 37%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A7166D is #16A750, creating high-contrast pairings. For softer combinations, try analogous colors like #9816A7.

Use #A7166D in CSS: color: #A7166D or background-color: #A7166D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #A7166D

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.98:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A7166D?

#A7166D is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A7166D?

#A7166D in RGB is (167, 22, 109) - 167 red, 22 green, and 109 blue.

How to use #A7166D in CSS?

Use #A7166D directly in your CSS properties like color or background-color.

What colors go well with #A7166D?

#16A750 (complementary), #9816A7 (analogous), and #630D41 (lighter shade) work well with #A7166D.