#AB368B Color Information

Hex color code: #AB368B

A subtle magenta shade, #AB368B appears as (171, 54, 139) in RGB and (316°, 52%, 44%) in HSL. It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#AB368B
RGB
171, 54, 139
HSL
316°, 52%, 44%
CMYK
0%, 68%, 19%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB368B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 54, 139

Red: 171 / Green: 54 / Blue: 139

HSL

316°, 52%, 44%

Hue: 316° / Saturation: 52% / Lightness: 44%

CMYK

0%, 68%, 19%, 33%

Cyan: 0% / Magenta: 68% / Yellow: 19% / Key: 33%

What color is #AB368B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB368B to RGB:

rgb(171, 54, 139)HEX to RGB Converter →

HEX to HSL

Convert #AB368B to HSL:

hsl(316, 52%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #AB368B to CMYK:

cmyk(0%, 68%, 19%, 33%)Color Converter →

Color Meaning and Usage

#AB368B is a balanced magenta color with RGB values of 171, 54, 139 and HSL of 316°, 52%, 44%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AB368B is #36AB55, creating high-contrast pairings. For softer combinations, try analogous colors like #8F36AB.

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

Contrast with #AB368B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB368B?

#AB368B is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB368B?

#AB368B in RGB is (171, 54, 139) - 171 red, 54 green, and 139 blue.

How to use #AB368B in CSS?

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

What colors go well with #AB368B?

#36AB55 (complementary), #8F36AB (analogous), and #70235C (lighter shade) work well with #AB368B.