#C02AB9 Color Information

Hex color code: #C02AB9

#C02AB9 is a subtle magenta color. In RGB it is (192, 42, 185), and in HSL it is (303°, 64%, 46%). It is popular in mobile app design.

Try:
Color NameDark Orchid
HEX
#C02AB9
RGB
192, 42, 185
HSL
303°, 64%, 46%
CMYK
0%, 78%, 4%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C02AB9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 42, 185

Red: 192 / Green: 42 / Blue: 185

HSL

303°, 64%, 46%

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

CMYK

0%, 78%, 4%, 25%

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

What color is #C02AB9?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C02AB9 to RGB:

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

HEX to HSL

Convert #C02AB9 to HSL:

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

HEX to CMYK

Convert #C02AB9 to CMYK:

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

Color Meaning and Usage

A understated magenta tone, #C02AB9 has RGB (192, 42, 185) and HSL (303°, 64%, 46%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C02AB9 is #2AC032, creating high-contrast pairings. For softer combinations, try analogous colors like #7D2AC0.

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

Contrast with #C02AB9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C02AB9?

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

What is the RGB value of #C02AB9?

#C02AB9 in RGB is (192, 42, 185) - 192 red, 42 green, and 185 blue.

How to use #C02AB9 in CSS?

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

What colors go well with #C02AB9?

#2AC032 (complementary), #7D2AC0 (analogous), and #821C7D (lighter shade) work well with #C02AB9.