#C21FDB Color Information

Hex color code: #C21FDB

A dynamic magenta shade, #C21FDB appears as (194, 31, 219) in RGB and (292°, 75%, 49%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Orchid
HEX
#C21FDB
RGB
194, 31, 219
HSL
292°, 75%, 49%
CMYK
11%, 86%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C21FDB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 31, 219

Red: 194 / Green: 31 / Blue: 219

HSL

292°, 75%, 49%

Hue: 292° / Saturation: 75% / Lightness: 49%

CMYK

11%, 86%, 0%, 14%

Cyan: 11% / Magenta: 86% / Yellow: 0% / Key: 14%

What color is #C21FDB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C21FDB to RGB:

rgb(194, 31, 219)HEX to RGB Converter →

HEX to HSL

Convert #C21FDB to HSL:

hsl(292, 75%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #C21FDB to CMYK:

cmyk(11%, 86%, 0%, 14%)Color Converter →

Color Meaning and Usage

#C21FDB is a striking magenta color with RGB values of 194, 31, 219 and HSL of 292°, 75%, 49%. 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 #C21FDB is #38DB1F, creating high-contrast pairings. For softer combinations, try analogous colors like #641FDB.

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

Contrast with #C21FDB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C21FDB?

#C21FDB is a striking magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C21FDB?

#C21FDB in RGB is (194, 31, 219) - 194 red, 31 green, and 219 blue.

How to use #C21FDB in CSS?

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

What colors go well with #C21FDB?

#38DB1F (complementary), #641FDB (analogous), and #861698 (lighter shade) work well with #C21FDB.