#AB1768 Color Information

Hex color code: #AB1768

A striking magenta shade, #AB1768 appears as (171, 23, 104) in RGB and (327°, 76%, 38%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#AB1768
RGB
171, 23, 104
HSL
327°, 76%, 38%
CMYK
0%, 87%, 39%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AB1768; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 23, 104

Red: 171 / Green: 23 / Blue: 104

HSL

327°, 76%, 38%

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

CMYK

0%, 87%, 39%, 33%

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

What color is #AB1768?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AB1768 to RGB:

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

HEX to HSL

Convert #AB1768 to HSL:

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

HEX to CMYK

Convert #AB1768 to CMYK:

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

Color Meaning and Usage

#AB1768 is a vivid magenta color with RGB values of 171, 23, 104 and HSL of 327°, 76%, 38%. 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 #AB1768 is #17AB5A, creating high-contrast pairings. For softer combinations, try analogous colors like #A317AB.

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

Contrast with #AB1768

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AB1768?

#AB1768 is a vivid magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #AB1768?

#AB1768 in RGB is (171, 23, 104) - 171 red, 23 green, and 104 blue.

How to use #AB1768 in CSS?

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

What colors go well with #AB1768?

#17AB5A (complementary), #A317AB (analogous), and #670E3F (lighter shade) work well with #AB1768.