#AB8797 Color Information

Hex color code: #AB8797

A understated magenta shade, #AB8797 appears as (171, 135, 151) in RGB and (333°, 18%, 60%) in HSL. It is widely used in graphic design.

Try:
Color NameRosy Brown
HEX
#AB8797
RGB
171, 135, 151
HSL
333°, 18%, 60%
CMYK
0%, 21%, 12%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB8797; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 135, 151

Red: 171 / Green: 135 / Blue: 151

HSL

333°, 18%, 60%

Hue: 333° / Saturation: 18% / Lightness: 60%

CMYK

0%, 21%, 12%, 33%

Cyan: 0% / Magenta: 21% / Yellow: 12% / Key: 33%

What color is #AB8797?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB8797 to RGB:

rgb(171, 135, 151)HEX to RGB Converter →

HEX to HSL

Convert #AB8797 to HSL:

hsl(333, 18%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #AB8797 to CMYK:

cmyk(0%, 21%, 12%, 33%)Color Converter →

Color Meaning and Usage

#AB8797 is a balanced magenta color with RGB values of 171, 135, 151 and HSL of 333°, 18%, 60%. This red-orange hue evokes warmth and passion, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB8797 is #87AB9B, creating high-contrast pairings. For softer combinations, try analogous colors like #AB87AA.

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

Contrast with #AB8797

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB8797?

#AB8797 is a balanced magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB8797?

#AB8797 in RGB is (171, 135, 151) - 171 red, 135 green, and 151 blue.

How to use #AB8797 in CSS?

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

What colors go well with #AB8797?

#87AB9B (complementary), #AB87AA (analogous), and #875E71 (lighter shade) work well with #AB8797.