#C71F8C Color Information

Hex color code: #C71F8C

The hex color #C71F8C is a striking magenta with RGB values of (199, 31, 140) and HSL of (321°, 73%, 45%). It is often used for branding and logos.

Try:
Color NameViolet Red
HEX
#C71F8C
RGB
199, 31, 140
HSL
321°, 73%, 45%
CMYK
0%, 84%, 30%, 22%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C71F8C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 31, 140

Red: 199 / Green: 31 / Blue: 140

HSL

321°, 73%, 45%

Hue: 321° / Saturation: 73% / Lightness: 45%

CMYK

0%, 84%, 30%, 22%

Cyan: 0% / Magenta: 84% / Yellow: 30% / Key: 22%

What color is #C71F8C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C71F8C to RGB:

rgb(199, 31, 140)HEX to RGB Converter →

HEX to HSL

Convert #C71F8C to HSL:

hsl(321, 73%, 45%)RGB to HSL Converter →

HEX to CMYK

Convert #C71F8C to CMYK:

cmyk(0%, 84%, 30%, 22%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #C71F8C has RGB (199, 31, 140) and HSL (321°, 73%, 45%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C71F8C is #1FC75A, creating high-contrast pairings. For softer combinations, try analogous colors like #AD1FC7.

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

Contrast with #C71F8C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C71F8C?

#C71F8C is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C71F8C?

#C71F8C in RGB is (199, 31, 140) - 199 red, 31 green, and 140 blue.

How to use #C71F8C in CSS?

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

What colors go well with #C71F8C?

#1FC75A (complementary), #AD1FC7 (analogous), and #84155D (lighter shade) work well with #C71F8C.