#AB2B56 Color Information

Hex color code: #AB2B56

A vibrant magenta shade, #AB2B56 appears as (171, 43, 86) in RGB and (340°, 60%, 42%) in HSL. It is often used for branding and logos.

Try:
Color NameBrown
HEX
#AB2B56
RGB
171, 43, 86
HSL
340°, 60%, 42%
CMYK
0%, 75%, 50%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB2B56; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 43, 86

Red: 171 / Green: 43 / Blue: 86

HSL

340°, 60%, 42%

Hue: 340° / Saturation: 60% / Lightness: 42%

CMYK

0%, 75%, 50%, 33%

Cyan: 0% / Magenta: 75% / Yellow: 50% / Key: 33%

What color is #AB2B56?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2B56 to RGB:

rgb(171, 43, 86)HEX to RGB Converter →

HEX to HSL

Convert #AB2B56 to HSL:

hsl(340, 60%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2B56 to CMYK:

cmyk(0%, 75%, 50%, 33%)Color Converter →

Color Meaning and Usage

A fiery magenta tone, #AB2B56 has RGB (171, 43, 86) and HSL (340°, 60%, 42%). Known for evoking warmth and passion, this red-orange hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2B56 is #2BAB81, creating high-contrast pairings. For softer combinations, try analogous colors like #AB2B96.

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

Contrast with #AB2B56

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2B56?

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

What is the RGB value of #AB2B56?

#AB2B56 in RGB is (171, 43, 86) - 171 red, 43 green, and 86 blue.

How to use #AB2B56 in CSS?

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

What colors go well with #AB2B56?

#2BAB81 (complementary), #AB2B96 (analogous), and #6E1C37 (lighter shade) work well with #AB2B56.