#A788AF Color Information

Hex color code: #A788AF

The hex color #A788AF is a soft magenta with RGB values of (167, 136, 175) and HSL of (288°, 20%, 61%). It is typically applied in digital products.

Try:
Color NameRosy Brown
HEX
#A788AF
RGB
167, 136, 175
HSL
288°, 20%, 61%
CMYK
5%, 22%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A788AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

167, 136, 175

Red: 167 / Green: 136 / Blue: 175

HSL

288°, 20%, 61%

Hue: 288° / Saturation: 20% / Lightness: 61%

CMYK

5%, 22%, 0%, 31%

Cyan: 5% / Magenta: 22% / Yellow: 0% / Key: 31%

What color is #A788AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A788AF to RGB:

rgb(167, 136, 175)HEX to RGB Converter →

HEX to HSL

Convert #A788AF to HSL:

hsl(288, 20%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #A788AF to CMYK:

cmyk(5%, 22%, 0%, 31%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #A788AF has RGB (167, 136, 175) and HSL (288°, 20%, 61%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A788AF is #90AF88, creating high-contrast pairings. For softer combinations, try analogous colors like #9488AF.

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

Contrast with #A788AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A788AF?

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

What is the RGB value of #A788AF?

#A788AF in RGB is (167, 136, 175) - 167 red, 136 green, and 175 blue.

How to use #A788AF in CSS?

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

What colors go well with #A788AF?

#90AF88 (complementary), #9488AF (analogous), and #835E8D (lighter shade) work well with #A788AF.