#C02A6B Color Information

Hex color code: #C02A6B

The hex color #C02A6B is a invigorating magenta with RGB values of (192, 42, 107) and HSL of (334°, 64%, 46%). It is popular in mobile app design.

Try:
Color NameMedium Violet Red
HEX
#C02A6B
RGB
192, 42, 107
HSL
334°, 64%, 46%
CMYK
0%, 78%, 44%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C02A6B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

192, 42, 107

Red: 192 / Green: 42 / Blue: 107

HSL

334°, 64%, 46%

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

CMYK

0%, 78%, 44%, 25%

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

What color is #C02A6B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C02A6B to RGB:

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

HEX to HSL

Convert #C02A6B to HSL:

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

HEX to CMYK

Convert #C02A6B to CMYK:

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

Color Meaning and Usage

#C02A6B is a fiery magenta color with RGB values of 192, 42, 107 and HSL of 334°, 64%, 46%. This red-orange hue evokes warmth and passion, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C02A6B is #2AC07F, creating high-contrast pairings. For softer combinations, try analogous colors like #C02AB6.

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

Contrast with #C02A6B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C02A6B?

#C02A6B is a fiery magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #C02A6B?

#C02A6B in RGB is (192, 42, 107) - 192 red, 42 green, and 107 blue.

How to use #C02A6B in CSS?

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

What colors go well with #C02A6B?

#2AC07F (complementary), #C02AB6 (analogous), and #821C48 (lighter shade) work well with #C02A6B.