#AB7C8A Color Information

Hex color code: #AB7C8A

#AB7C8A is a subtle magenta color. In RGB it is (171, 124, 138), and in HSL it is (342°, 22%, 58%). It is often used for branding and logos.

Try:
Color NameRosy Brown
HEX
#AB7C8A
RGB
171, 124, 138
HSL
342°, 22%, 58%
CMYK
0%, 27%, 19%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AB7C8A; 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 #AB7C8A; background-color: #AB7C8A15; }

Alert / Toast

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

Link / Accent

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

a { color: #AB7C8A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 124, 138

Red: 171 / Green: 124 / Blue: 138

HSL

342°, 22%, 58%

Hue: 342° / Saturation: 22% / Lightness: 58%

CMYK

0%, 27%, 19%, 33%

Cyan: 0% / Magenta: 27% / Yellow: 19% / Key: 33%

What color is #AB7C8A?

#AB7C8A is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB7C8A to RGB:

rgb(171, 124, 138)HEX to RGB Converter →

HEX to HSL

Convert #AB7C8A to HSL:

hsl(342, 22%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #AB7C8A to CMYK:

cmyk(0%, 27%, 19%, 33%)Color Converter →

Color Meaning and Usage

#AB7C8A is a pastel magenta color with RGB values of 171, 124, 138 and HSL of 342°, 22%, 58%. This red-orange hue evokes warmth and passion, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB7C8A is #7CAB9D, creating high-contrast pairings. For softer combinations, try analogous colors like #AB7CA2.

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

Contrast with #AB7C8A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB7C8A?

#AB7C8A is a pastel magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB7C8A?

#AB7C8A in RGB is (171, 124, 138) - 171 red, 124 green, and 138 blue.

How to use #AB7C8A in CSS?

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

What colors go well with #AB7C8A?

#7CAB9D (complementary), #AB7CA2 (analogous), and #865664 (lighter shade) work well with #AB7C8A.