#A25798 Color Information

Hex color code: #A25798

#A25798 is a pastel magenta color. In RGB it is (162, 87, 152), and in HSL it is (308°, 30%, 49%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#A25798
RGB
162, 87, 152
HSL
308°, 30%, 49%
CMYK
0%, 46%, 6%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #A25798; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #A25798; color: #FFFFFF; }

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 #A25798; background-color: #A2579815; }

Alert / Toast

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

Link / Accent

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

a { color: #A25798; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 87, 152

Red: 162 / Green: 87 / Blue: 152

HSL

308°, 30%, 49%

Hue: 308° / Saturation: 30% / Lightness: 49%

CMYK

0%, 46%, 6%, 36%

Cyan: 0% / Magenta: 46% / Yellow: 6% / Key: 36%

What color is #A25798?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A25798 to RGB:

rgb(162, 87, 152)HEX to RGB Converter →

HEX to HSL

Convert #A25798 to HSL:

hsl(308, 30%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #A25798 to CMYK:

cmyk(0%, 46%, 6%, 36%)Color Converter →

Color Meaning and Usage

A delicate magenta tone, #A25798 has RGB (162, 87, 152) and HSL (308°, 30%, 49%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A25798 is #57A261, creating high-contrast pairings. For softer combinations, try analogous colors like #8757A2.

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

Contrast with #A25798

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

Contrast Ratio: 4.35:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A25798?

#A25798 is a delicate magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A25798?

#A25798 in RGB is (162, 87, 152) - 162 red, 87 green, and 152 blue.

How to use #A25798 in CSS?

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

What colors go well with #A25798?

#57A261 (complementary), #8757A2 (analogous), and #713D6A (lighter shade) work well with #A25798.