#A27F9E Color Information

Hex color code: #A27F9E

A neutral magenta shade, #A27F9E appears as (162, 127, 158) in RGB and (307°, 16%, 57%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameRosy Brown
HEX
#A27F9E
RGB
162, 127, 158
HSL
307°, 16%, 57%
CMYK
0%, 22%, 2%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A27F9E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 127, 158

Red: 162 / Green: 127 / Blue: 158

HSL

307°, 16%, 57%

Hue: 307° / Saturation: 16% / Lightness: 57%

CMYK

0%, 22%, 2%, 36%

Cyan: 0% / Magenta: 22% / Yellow: 2% / Key: 36%

What color is #A27F9E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A27F9E to RGB:

rgb(162, 127, 158)HEX to RGB Converter →

HEX to HSL

Convert #A27F9E to HSL:

hsl(307, 16%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #A27F9E to CMYK:

cmyk(0%, 22%, 2%, 36%)Color Converter →

Color Meaning and Usage

A neutral magenta tone, #A27F9E has RGB (162, 127, 158) and HSL (307°, 16%, 57%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A27F9E is #80A384, creating high-contrast pairings. For softer combinations, try analogous colors like #9580A3.

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

Contrast with #A27F9E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A27F9E?

#A27F9E is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A27F9E?

#A27F9E in RGB is (162, 127, 158) - 162 red, 127 green, and 158 blue.

How to use #A27F9E in CSS?

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

What colors go well with #A27F9E?

#80A384 (complementary), #9580A3 (analogous), and #7C5A78 (lighter shade) work well with #A27F9E.