#C42CD8 Color Information

Hex color code: #C42CD8

#C42CD8 is a balanced magenta color. In RGB it is (196, 44, 216), and in HSL it is (293°, 69%, 51%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#C42CD8
RGB
196, 44, 216
HSL
293°, 69%, 51%
CMYK
9%, 80%, 0%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C42CD8; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

196, 44, 216

Red: 196 / Green: 44 / Blue: 216

HSL

293°, 69%, 51%

Hue: 293° / Saturation: 69% / Lightness: 51%

CMYK

9%, 80%, 0%, 15%

Cyan: 9% / Magenta: 80% / Yellow: 0% / Key: 15%

What color is #C42CD8?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C42CD8 to RGB:

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

HEX to HSL

Convert #C42CD8 to HSL:

hsl(293, 69%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #C42CD8 to CMYK:

cmyk(9%, 80%, 0%, 15%)Color Converter →

Color Meaning and Usage

A muted magenta tone, #C42CD8 has RGB (196, 44, 216) and HSL (293°, 69%, 51%). 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 #C42CD8 is #40D82C, creating high-contrast pairings. For softer combinations, try analogous colors like #6E2CD8.

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

Contrast with #C42CD8

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C42CD8?

#C42CD8 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C42CD8?

#C42CD8 in RGB is (196, 44, 216) - 196 red, 44 green, and 216 blue.

How to use #C42CD8 in CSS?

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

What colors go well with #C42CD8?

#40D82C (complementary), #6E2CD8 (analogous), and #8C1C9B (lighter shade) work well with #C42CD8.