#AB788A Color Information

Hex color code: #AB788A

A pastel magenta shade, #AB788A appears as (171, 120, 138) in RGB and (339°, 23%, 57%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#AB788A
RGB
171, 120, 138
HSL
339°, 23%, 57%
CMYK
0%, 30%, 19%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB788A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 120, 138

Red: 171 / Green: 120 / Blue: 138

HSL

339°, 23%, 57%

Hue: 339° / Saturation: 23% / Lightness: 57%

CMYK

0%, 30%, 19%, 33%

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

What color is #AB788A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB788A to RGB:

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

HEX to HSL

Convert #AB788A to HSL:

hsl(339, 23%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #AB788A to CMYK:

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

Color Meaning and Usage

#AB788A is a gentle magenta color with RGB values of 171, 120, 138 and HSL of 339°, 23%, 57%. This red-orange hue evokes warmth and passion, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB788A is #78AB99, creating high-contrast pairings. For softer combinations, try analogous colors like #AB78A3.

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

Contrast with #AB788A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB788A?

#AB788A is a gentle magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB788A?

#AB788A in RGB is (171, 120, 138) - 171 red, 120 green, and 138 blue.

How to use #AB788A in CSS?

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

What colors go well with #AB788A?

#78AB99 (complementary), #AB78A3 (analogous), and #845264 (lighter shade) work well with #AB788A.