#C51682 Color Information

Hex color code: #C51682

#C51682 is a vivid magenta color. In RGB it is (197, 22, 130), and in HSL it is (323°, 80%, 43%). It is commonly used in modern UI design.

Try:
Color NameMedium Violet Red
HEX
#C51682
RGB
197, 22, 130
HSL
323°, 80%, 43%
CMYK
0%, 89%, 34%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C51682; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

197, 22, 130

Red: 197 / Green: 22 / Blue: 130

HSL

323°, 80%, 43%

Hue: 323° / Saturation: 80% / Lightness: 43%

CMYK

0%, 89%, 34%, 23%

Cyan: 0% / Magenta: 89% / Yellow: 34% / Key: 23%

What color is #C51682?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C51682 to RGB:

rgb(197, 22, 130)HEX to RGB Converter →

HEX to HSL

Convert #C51682 to HSL:

hsl(323, 80%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #C51682 to CMYK:

cmyk(0%, 89%, 34%, 23%)Color Converter →

Color Meaning and Usage

A striking magenta tone, #C51682 has RGB (197, 22, 130) and HSL (323°, 80%, 43%). Known for evoking romance and playfulness, this magenta-red hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C51682 is #16C559, creating high-contrast pairings. For softer combinations, try analogous colors like #B116C5.

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

Contrast with #C51682

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C51682?

#C51682 is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C51682?

#C51682 in RGB is (197, 22, 130) - 197 red, 22 green, and 130 blue.

How to use #C51682 in CSS?

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

What colors go well with #C51682?

#16C559 (complementary), #B116C5 (analogous), and #810E55 (lighter shade) work well with #C51682.