#AB305F Color Information

Hex color code: #AB305F

The hex color #AB305F is a vibrant magenta with RGB values of (171, 48, 95) and HSL of (337°, 56%, 43%). It is often used for branding and logos.

Try:
Color NameBrown
HEX
#AB305F
RGB
171, 48, 95
HSL
337°, 56%, 43%
CMYK
0%, 72%, 44%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB305F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 48, 95

Red: 171 / Green: 48 / Blue: 95

HSL

337°, 56%, 43%

Hue: 337° / Saturation: 56% / Lightness: 43%

CMYK

0%, 72%, 44%, 33%

Cyan: 0% / Magenta: 72% / Yellow: 44% / Key: 33%

What color is #AB305F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB305F to RGB:

rgb(171, 48, 95)HEX to RGB Converter →

HEX to HSL

Convert #AB305F to HSL:

hsl(337, 56%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AB305F to CMYK:

cmyk(0%, 72%, 44%, 33%)Color Converter →

Color Meaning and Usage

A invigorating magenta tone, #AB305F has RGB (171, 48, 95) and HSL (337°, 56%, 43%). Known for evoking warmth and passion, this red-orange hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB305F is #30AB7C, creating high-contrast pairings. For softer combinations, try analogous colors like #AB309D.

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

Contrast with #AB305F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB305F?

#AB305F is a invigorating magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #AB305F?

#AB305F in RGB is (171, 48, 95) - 171 red, 48 green, and 95 blue.

How to use #AB305F in CSS?

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

What colors go well with #AB305F?

#30AB7C (complementary), #AB309D (analogous), and #6F1F3E (lighter shade) work well with #AB305F.