#C17DB2 Color Information

Hex color code: #C17DB2

The hex color #C17DB2 is a pastel magenta with RGB values of (193, 125, 178) and HSL of (313°, 35%, 62%). It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#C17DB2
RGB
193, 125, 178
HSL
313°, 35%, 62%
CMYK
0%, 35%, 8%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C17DB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

193, 125, 178

Red: 193 / Green: 125 / Blue: 178

HSL

313°, 35%, 62%

Hue: 313° / Saturation: 35% / Lightness: 62%

CMYK

0%, 35%, 8%, 24%

Cyan: 0% / Magenta: 35% / Yellow: 8% / Key: 24%

What color is #C17DB2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C17DB2 to RGB:

rgb(193, 125, 178)HEX to RGB Converter →

HEX to HSL

Convert #C17DB2 to HSL:

hsl(313, 35%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #C17DB2 to CMYK:

cmyk(0%, 35%, 8%, 24%)Color Converter →

Color Meaning and Usage

A pastel magenta tone, #C17DB2 has RGB (193, 125, 178) and HSL (313°, 35%, 62%). 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 #C17DB2 is #7CC08B, creating high-contrast pairings. For softer combinations, try analogous colors like #AD7CC0.

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

Contrast with #C17DB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C17DB2?

#C17DB2 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C17DB2?

#C17DB2 in RGB is (193, 125, 178) - 193 red, 125 green, and 178 blue.

How to use #C17DB2 in CSS?

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

What colors go well with #C17DB2?

#7CC08B (complementary), #AD7CC0 (analogous), and #A24E90 (lighter shade) work well with #C17DB2.