#C171AB Color Information

Hex color code: #C171AB

A subtle magenta shade, #C171AB appears as (193, 113, 171) in RGB and (317°, 39%, 60%) in HSL. It is popular in mobile app design.

Try:
Color NamePale Violet Red
HEX
#C171AB
RGB
193, 113, 171
HSL
317°, 39%, 60%
CMYK
0%, 41%, 11%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #C171AB; color: #000000; }

Badge

New Feature
.badge { background-color: #C171AB; color: #000000; }

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 #C171AB; background-color: #C171AB15; }

Alert / Toast

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

Link / Accent

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

a { color: #C171AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

193, 113, 171

Red: 193 / Green: 113 / Blue: 171

HSL

317°, 39%, 60%

Hue: 317° / Saturation: 39% / Lightness: 60%

CMYK

0%, 41%, 11%, 24%

Cyan: 0% / Magenta: 41% / Yellow: 11% / Key: 24%

What color is #C171AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C171AB to RGB:

rgb(193, 113, 171)HEX to RGB Converter →

HEX to HSL

Convert #C171AB to HSL:

hsl(317, 39%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #C171AB to CMYK:

cmyk(0%, 41%, 11%, 24%)Color Converter →

Color Meaning and Usage

A gentle magenta tone, #C171AB has RGB (193, 113, 171) and HSL (317°, 39%, 60%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C171AB is #71C188, creating high-contrast pairings. For softer combinations, try analogous colors like #B071C1.

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

Contrast with #C171AB

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

Contrast Ratio: 6.22:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C171AB?

#C171AB is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C171AB?

#C171AB in RGB is (193, 113, 171) - 193 red, 113 green, and 171 blue.

How to use #C171AB in CSS?

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

What colors go well with #C171AB?

#71C188 (complementary), #B071C1 (analogous), and #A04686 (lighter shade) work well with #C171AB.