#C173A7 Color Information

Hex color code: #C173A7

#C173A7 is a subtle magenta color. In RGB it is (193, 115, 167), and in HSL it is (320°, 39%, 60%). It is popular in mobile app design.

Try:
Color NamePale Violet Red
HEX
#C173A7
RGB
193, 115, 167
HSL
320°, 39%, 60%
CMYK
0%, 40%, 13%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C173A7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

193, 115, 167

Red: 193 / Green: 115 / Blue: 167

HSL

320°, 39%, 60%

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

CMYK

0%, 40%, 13%, 24%

Cyan: 0% / Magenta: 40% / Yellow: 13% / Key: 24%

What color is #C173A7?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C173A7 to RGB:

rgb(193, 115, 167)HEX to RGB Converter →

HEX to HSL

Convert #C173A7 to HSL:

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

HEX to CMYK

Convert #C173A7 to CMYK:

cmyk(0%, 40%, 13%, 24%)Color Converter →

Color Meaning and Usage

#C173A7 is a soft magenta color with RGB values of 193, 115, 167 and HSL of 320°, 39%, 60%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C173A7 is #71C18C, creating high-contrast pairings. For softer combinations, try analogous colors like #B471C1.

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

Contrast with #C173A7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C173A7?

#C173A7 is a soft magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C173A7?

#C173A7 in RGB is (193, 115, 167) - 193 red, 115 green, and 167 blue.

How to use #C173A7 in CSS?

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

What colors go well with #C173A7?

#71C18C (complementary), #B471C1 (analogous), and #A04682 (lighter shade) work well with #C173A7.