#8A517A Color Information

Hex color code: #8A517A

A soft magenta shade, #8A517A appears as (138, 81, 122) in RGB and (317°, 26%, 43%) in HSL. It is typically applied in digital products.

Try:
Color NameGray
HEX
#8A517A
RGB
138, 81, 122
HSL
317°, 26%, 43%
CMYK
0%, 41%, 12%, 46%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8A517A; 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 #8A517A; background-color: #8A517A15; }

Alert / Toast

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

Link / Accent

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

a { color: #8A517A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8A517A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

138, 81, 122

Red: 138 / Green: 81 / Blue: 122

HSL

317°, 26%, 43%

Hue: 317° / Saturation: 26% / Lightness: 43%

CMYK

0%, 41%, 12%, 46%

Cyan: 0% / Magenta: 41% / Yellow: 12% / Key: 46%

What color is #8A517A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8A517A to RGB:

rgb(138, 81, 122)HEX to RGB Converter →

HEX to HSL

Convert #8A517A to HSL:

hsl(317, 26%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #8A517A to CMYK:

cmyk(0%, 41%, 12%, 46%)Color Converter →

Color Meaning and Usage

#8A517A is a gentle magenta color with RGB values of 138, 81, 122 and HSL of 317°, 26%, 43%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8A517A is #518A61, creating high-contrast pairings. For softer combinations, try analogous colors like #7E518A.

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

Contrast with #8A517A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8A517A?

#8A517A is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #8A517A?

#8A517A in RGB is (138, 81, 122) - 138 red, 81 green, and 122 blue.

How to use #8A517A in CSS?

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

What colors go well with #8A517A?

#518A61 (complementary), #7E518A (analogous), and #5A354F (lighter shade) work well with #8A517A.