#AB2D17 Color Information

Hex color code: #AB2D17

The hex color #AB2D17 is a striking red with RGB values of (171, 45, 23) and HSL of (9°, 76%, 38%). It is often used for branding and logos.

Try:
Color NameFirebrick
HEX
#AB2D17
RGB
171, 45, 23
HSL
9°, 76%, 38%
CMYK
0%, 74%, 87%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB2D17; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 45, 23

Red: 171 / Green: 45 / Blue: 23

HSL

9°, 76%, 38%

Hue: 9° / Saturation: 76% / Lightness: 38%

CMYK

0%, 74%, 87%, 33%

Cyan: 0% / Magenta: 74% / Yellow: 87% / Key: 33%

What color is #AB2D17?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB2D17 to RGB:

rgb(171, 45, 23)HEX to RGB Converter →

HEX to HSL

Convert #AB2D17 to HSL:

hsl(9, 76%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #AB2D17 to CMYK:

cmyk(0%, 74%, 87%, 33%)Color Converter →

Color Meaning and Usage

#AB2D17 is a bold red color with RGB values of 171, 45, 23 and HSL of 9°, 76%, 38%. This red-orange hue evokes warmth and passion, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB2D17 is #1794AB, creating high-contrast pairings. For softer combinations, try analogous colors like #AB174B.

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

Contrast with #AB2D17

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB2D17?

#AB2D17 is a bold red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB2D17?

#AB2D17 in RGB is (171, 45, 23) - 171 red, 45 green, and 23 blue.

How to use #AB2D17 in CSS?

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

What colors go well with #AB2D17?

#1794AB (complementary), #AB174B (analogous), and #671B0E (lighter shade) work well with #AB2D17.