#C02AB4 Color Information

Hex color code: #C02AB4

The hex color #C02AB4 is a understated magenta with RGB values of (192, 42, 180) and HSL of (305°, 64%, 46%). It is widely used in graphic design.

Try:
Color NameViolet Red
HEX
#C02AB4
RGB
192, 42, 180
HSL
305°, 64%, 46%
CMYK
0%, 78%, 6%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C02AB4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 42, 180

Red: 192 / Green: 42 / Blue: 180

HSL

305°, 64%, 46%

Hue: 305° / Saturation: 64% / Lightness: 46%

CMYK

0%, 78%, 6%, 25%

Cyan: 0% / Magenta: 78% / Yellow: 6% / Key: 25%

What color is #C02AB4?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C02AB4 to RGB:

rgb(192, 42, 180)HEX to RGB Converter →

HEX to HSL

Convert #C02AB4 to HSL:

hsl(305, 64%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #C02AB4 to CMYK:

cmyk(0%, 78%, 6%, 25%)Color Converter →

Color Meaning and Usage

#C02AB4 is a understated magenta color with RGB values of 192, 42, 180 and HSL of 305°, 64%, 46%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C02AB4 is #2AC037, creating high-contrast pairings. For softer combinations, try analogous colors like #822AC0.

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

Contrast with #C02AB4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C02AB4?

#C02AB4 is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C02AB4?

#C02AB4 in RGB is (192, 42, 180) - 192 red, 42 green, and 180 blue.

How to use #C02AB4 in CSS?

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

What colors go well with #C02AB4?

#2AC037 (complementary), #822AC0 (analogous), and #821C79 (lighter shade) work well with #C02AB4.