#C02166 Color Information

Hex color code: #C02166

The hex color #C02166 is a vivid magenta with RGB values of (192, 33, 102) and HSL of (334°, 71%, 44%). It is commonly used in modern UI design.

Try:
Color NameMedium Violet Red
HEX
#C02166
RGB
192, 33, 102
HSL
334°, 71%, 44%
CMYK
0%, 83%, 47%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C02166; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 33, 102

Red: 192 / Green: 33 / Blue: 102

HSL

334°, 71%, 44%

Hue: 334° / Saturation: 71% / Lightness: 44%

CMYK

0%, 83%, 47%, 25%

Cyan: 0% / Magenta: 83% / Yellow: 47% / Key: 25%

What color is #C02166?

#C02166 is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C02166 to RGB:

rgb(192, 33, 102)HEX to RGB Converter →

HEX to HSL

Convert #C02166 to HSL:

hsl(334, 71%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #C02166 to CMYK:

cmyk(0%, 83%, 47%, 25%)Color Converter →

Color Meaning and Usage

A vivid magenta tone, #C02166 has RGB (192, 33, 102) and HSL (334°, 71%, 44%). Known for evoking warmth and passion, this red-orange hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C02166 is #21C07B, creating high-contrast pairings. For softer combinations, try analogous colors like #C021B5.

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

Contrast with #C02166

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C02166?

#C02166 is a vivid magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #C02166?

#C02166 in RGB is (192, 33, 102) - 192 red, 33 green, and 102 blue.

How to use #C02166 in CSS?

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

What colors go well with #C02166?

#21C07B (complementary), #C021B5 (analogous), and #7E1543 (lighter shade) work well with #C02166.