#CC0099 Color Information

Hex color code: #CC0099

#CC0099 is a striking magenta color. In RGB it is (204, 0, 153), and in HSL it is (315°, 100%, 40%). It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#CC0099
RGB
204, 0, 153
HSL
315°, 100%, 40%
CMYK
0%, 100%, 25%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC0099; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 0, 153

Red: 204 / Green: 0 / Blue: 153

HSL

315°, 100%, 40%

Hue: 315° / Saturation: 100% / Lightness: 40%

CMYK

0%, 100%, 25%, 20%

Cyan: 0% / Magenta: 100% / Yellow: 25% / Key: 20%

What color is #CC0099?

#CC0099 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC0099 to RGB:

rgb(204, 0, 153)HEX to RGB Converter →

HEX to HSL

Convert #CC0099 to HSL:

hsl(315, 100%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #CC0099 to CMYK:

cmyk(0%, 100%, 25%, 20%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #CC0099 has RGB (204, 0, 153) and HSL (315°, 100%, 40%). Known for evoking energy and excitement, this highly saturated hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC0099 is #00CC33, creating high-contrast pairings. For softer combinations, try analogous colors like #9900CC.

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

Contrast with #CC0099

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC0099?

#CC0099 is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #CC0099?

#CC0099 in RGB is (204, 0, 153) - 204 red, 0 green, and 153 blue.

How to use #CC0099 in CSS?

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

What colors go well with #CC0099?

#00CC33 (complementary), #9900CC (analogous), and #800060 (lighter shade) work well with #CC0099.