#A1879C Color Information

Hex color code: #A1879C

A balanced magenta shade, #A1879C appears as (161, 135, 156) in RGB and (312°, 12%, 58%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#A1879C
RGB
161, 135, 156
HSL
312°, 12%, 58%
CMYK
0%, 16%, 3%, 37%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #A1879C; color: #000000; }

Badge

New Feature
.badge { background-color: #A1879C; color: #000000; }

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 #A1879C; background-color: #A1879C15; }

Alert / Toast

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

Link / Accent

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

a { color: #A1879C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

161, 135, 156

Red: 161 / Green: 135 / Blue: 156

HSL

312°, 12%, 58%

Hue: 312° / Saturation: 12% / Lightness: 58%

CMYK

0%, 16%, 3%, 37%

Cyan: 0% / Magenta: 16% / Yellow: 3% / Key: 37%

What color is #A1879C?

#A1879C is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A1879C to RGB:

rgb(161, 135, 156)HEX to RGB Converter →

HEX to HSL

Convert #A1879C to HSL:

hsl(312, 12%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #A1879C to CMYK:

cmyk(0%, 16%, 3%, 37%)Color Converter →

Color Meaning and Usage

#A1879C is a subtle magenta color with RGB values of 161, 135, 156 and HSL of 312°, 12%, 58%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A1879C is #87A18C, creating high-contrast pairings. For softer combinations, try analogous colors like #9987A1.

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

Contrast with #A1879C

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

Contrast Ratio: 6.46:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A1879C?

#A1879C is a subtle magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #A1879C?

#A1879C in RGB is (161, 135, 156) - 161 red, 135 green, and 156 blue.

How to use #A1879C in CSS?

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

What colors go well with #A1879C?

#87A18C (complementary), #9987A1 (analogous), and #7B6076 (lighter shade) work well with #A1879C.