#AB2662 Color Information

Hex color code: #AB2662

#AB2662 is a fiery magenta color. In RGB it is (171, 38, 98), and in HSL it is (333°, 64%, 41%). It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#AB2662
RGB
171, 38, 98
HSL
333°, 64%, 41%
CMYK
0%, 78%, 43%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB2662; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 38, 98

Red: 171 / Green: 38 / Blue: 98

HSL

333°, 64%, 41%

Hue: 333° / Saturation: 64% / Lightness: 41%

CMYK

0%, 78%, 43%, 33%

Cyan: 0% / Magenta: 78% / Yellow: 43% / Key: 33%

What color is #AB2662?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2662 to RGB:

rgb(171, 38, 98)HEX to RGB Converter →

HEX to HSL

Convert #AB2662 to HSL:

hsl(333, 64%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2662 to CMYK:

cmyk(0%, 78%, 43%, 33%)Color Converter →

Color Meaning and Usage

A fiery magenta tone, #AB2662 has RGB (171, 38, 98) and HSL (333°, 64%, 41%). Known for evoking warmth and passion, this red-orange hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2662 is #26AB6F, creating high-contrast pairings. For softer combinations, try analogous colors like #AB26A5.

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

Contrast with #AB2662

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2662?

#AB2662 is a fiery magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB2662?

#AB2662 in RGB is (171, 38, 98) - 171 red, 38 green, and 98 blue.

How to use #AB2662 in CSS?

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

What colors go well with #AB2662?

#26AB6F (complementary), #AB26A5 (analogous), and #6D183E (lighter shade) work well with #AB2662.