#A042BD Color Information

Hex color code: #A042BD

#A042BD is a pastel magenta color. In RGB it is (160, 66, 189), and in HSL it is (286°, 48%, 50%). It is commonly used in modern UI design.

Try:
Color NameDark Orchid
HEX
#A042BD
RGB
160, 66, 189
HSL
286°, 48%, 50%
CMYK
15%, 65%, 0%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A042BD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

160, 66, 189

Red: 160 / Green: 66 / Blue: 189

HSL

286°, 48%, 50%

Hue: 286° / Saturation: 48% / Lightness: 50%

CMYK

15%, 65%, 0%, 26%

Cyan: 15% / Magenta: 65% / Yellow: 0% / Key: 26%

What color is #A042BD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A042BD to RGB:

rgb(160, 66, 189)HEX to RGB Converter →

HEX to HSL

Convert #A042BD to HSL:

hsl(286, 48%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #A042BD to CMYK:

cmyk(15%, 65%, 0%, 26%)Color Converter →

Color Meaning and Usage

A soft magenta tone, #A042BD has RGB (160, 66, 189) and HSL (286°, 48%, 50%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A042BD is #5FBD42, creating high-contrast pairings. For softer combinations, try analogous colors like #6342BD.

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

Contrast with #A042BD

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A042BD?

#A042BD is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A042BD?

#A042BD in RGB is (160, 66, 189) - 160 red, 66 green, and 189 blue.

How to use #A042BD in CSS?

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

What colors go well with #A042BD?

#5FBD42 (complementary), #6342BD (analogous), and #702E84 (lighter shade) work well with #A042BD.