#C42C9E Color Information

Hex color code: #C42C9E

A neutral magenta shade, #C42C9E appears as (196, 44, 158) in RGB and (315°, 63%, 47%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#C42C9E
RGB
196, 44, 158
HSL
315°, 63%, 47%
CMYK
0%, 78%, 19%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C42C9E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

196, 44, 158

Red: 196 / Green: 44 / Blue: 158

HSL

315°, 63%, 47%

Hue: 315° / Saturation: 63% / Lightness: 47%

CMYK

0%, 78%, 19%, 23%

Cyan: 0% / Magenta: 78% / Yellow: 19% / Key: 23%

What color is #C42C9E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C42C9E to RGB:

rgb(196, 44, 158)HEX to RGB Converter →

HEX to HSL

Convert #C42C9E to HSL:

hsl(315, 63%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #C42C9E to CMYK:

cmyk(0%, 78%, 19%, 23%)Color Converter →

Color Meaning and Usage

#C42C9E is a balanced magenta color with RGB values of 196, 44, 158 and HSL of 315°, 63%, 47%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C42C9E is #2CC352, creating high-contrast pairings. For softer combinations, try analogous colors like #9E2CC3.

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

Contrast with #C42C9E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C42C9E?

#C42C9E is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C42C9E?

#C42C9E in RGB is (196, 44, 158) - 196 red, 44 green, and 158 blue.

How to use #C42C9E in CSS?

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

What colors go well with #C42C9E?

#2CC352 (complementary), #9E2CC3 (analogous), and #851E6B (lighter shade) work well with #C42C9E.