#C21EB2 Color Information

Hex color code: #C21EB2

#C21EB2 is a vivid magenta color. In RGB it is (194, 30, 178), and in HSL it is (306°, 73%, 44%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#C21EB2
RGB
194, 30, 178
HSL
306°, 73%, 44%
CMYK
0%, 85%, 8%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C21EB2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 30, 178

Red: 194 / Green: 30 / Blue: 178

HSL

306°, 73%, 44%

Hue: 306° / Saturation: 73% / Lightness: 44%

CMYK

0%, 85%, 8%, 24%

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

What color is #C21EB2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C21EB2 to RGB:

rgb(194, 30, 178)HEX to RGB Converter →

HEX to HSL

Convert #C21EB2 to HSL:

hsl(306, 73%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #C21EB2 to CMYK:

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

Color Meaning and Usage

A bold magenta tone, #C21EB2 has RGB (194, 30, 178) and HSL (306°, 73%, 44%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C21EB2 is #1EC22F, creating high-contrast pairings. For softer combinations, try analogous colors like #811EC2.

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

Contrast with #C21EB2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C21EB2?

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

What is the RGB value of #C21EB2?

#C21EB2 in RGB is (194, 30, 178) - 194 red, 30 green, and 178 blue.

How to use #C21EB2 in CSS?

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

What colors go well with #C21EB2?

#1EC22F (complementary), #811EC2 (analogous), and #801475 (lighter shade) work well with #C21EB2.