#CC338C Color Information

Hex color code: #CC338C

The hex color #CC338C is a balanced magenta with RGB values of (204, 51, 140) and HSL of (325°, 60%, 50%). It is frequently seen in web interfaces.

Try:
Color NameViolet Red
HEX
#CC338C
RGB
204, 51, 140
HSL
325°, 60%, 50%
CMYK
0%, 75%, 31%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC338C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 51, 140

Red: 204 / Green: 51 / Blue: 140

HSL

325°, 60%, 50%

Hue: 325° / Saturation: 60% / Lightness: 50%

CMYK

0%, 75%, 31%, 20%

Cyan: 0% / Magenta: 75% / Yellow: 31% / Key: 20%

What color is #CC338C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC338C to RGB:

rgb(204, 51, 140)HEX to RGB Converter →

HEX to HSL

Convert #CC338C to HSL:

hsl(325, 60%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #CC338C to CMYK:

cmyk(0%, 75%, 31%, 20%)Color Converter →

Color Meaning and Usage

A balanced magenta tone, #CC338C has RGB (204, 51, 140) and HSL (325°, 60%, 50%). Known for evoking romance and playfulness, this magenta-red hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC338C is #33CC73, creating high-contrast pairings. For softer combinations, try analogous colors like #BF33CC.

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

Contrast with #CC338C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC338C?

#CC338C is a balanced magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC338C?

#CC338C in RGB is (204, 51, 140) - 204 red, 51 green, and 140 blue.

How to use #CC338C in CSS?

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

What colors go well with #CC338C?

#33CC73 (complementary), #BF33CC (analogous), and #8F2462 (lighter shade) work well with #CC338C.