#C21998 Color Information

Hex color code: #C21998

The hex color #C21998 is a dynamic magenta with RGB values of (194, 25, 152) and HSL of (315°, 77%, 43%). It is typically applied in digital products.

Try:
Color NameViolet Red
HEX
#C21998
RGB
194, 25, 152
HSL
315°, 77%, 43%
CMYK
0%, 87%, 22%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C21998; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 25, 152

Red: 194 / Green: 25 / Blue: 152

HSL

315°, 77%, 43%

Hue: 315° / Saturation: 77% / Lightness: 43%

CMYK

0%, 87%, 22%, 24%

Cyan: 0% / Magenta: 87% / Yellow: 22% / Key: 24%

What color is #C21998?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C21998 to RGB:

rgb(194, 25, 152)HEX to RGB Converter →

HEX to HSL

Convert #C21998 to HSL:

hsl(315, 77%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #C21998 to CMYK:

cmyk(0%, 87%, 22%, 24%)Color Converter →

Color Meaning and Usage

#C21998 is a eye-catching magenta color with RGB values of 194, 25, 152 and HSL of 315°, 77%, 43%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C21998 is #19C243, creating high-contrast pairings. For softer combinations, try analogous colors like #9819C2.

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

Contrast with #C21998

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C21998?

#C21998 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C21998?

#C21998 in RGB is (194, 25, 152) - 194 red, 25 green, and 152 blue.

How to use #C21998 in CSS?

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

What colors go well with #C21998?

#19C243 (complementary), #9819C2 (analogous), and #7E1063 (lighter shade) work well with #C21998.