#CC31DD Color Information

Hex color code: #CC31DD

#CC31DD is a eye-catching magenta color. In RGB it is (204, 49, 221), and in HSL it is (294°, 72%, 53%). It is widely used in graphic design.

Try:
Color NameMedium Orchid
HEX
#CC31DD
RGB
204, 49, 221
HSL
294°, 72%, 53%
CMYK
8%, 78%, 0%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #CC31DD; color: #000000; }

Badge

New Feature
.badge { background-color: #CC31DD; color: #000000; }

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 #CC31DD; background-color: #CC31DD15; }

Alert / Toast

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

Link / Accent

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

a { color: #CC31DD; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 49, 221

Red: 204 / Green: 49 / Blue: 221

HSL

294°, 72%, 53%

Hue: 294° / Saturation: 72% / Lightness: 53%

CMYK

8%, 78%, 0%, 13%

Cyan: 8% / Magenta: 78% / Yellow: 0% / Key: 13%

What color is #CC31DD?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC31DD to RGB:

rgb(204, 49, 221)HEX to RGB Converter →

HEX to HSL

Convert #CC31DD to HSL:

hsl(294, 72%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #CC31DD to CMYK:

cmyk(8%, 78%, 0%, 13%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #CC31DD has RGB (204, 49, 221) and HSL (294°, 72%, 53%). Known for evoking romance and playfulness, this magenta-red hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC31DD is #42DD31, creating high-contrast pairings. For softer combinations, try analogous colors like #7631DD.

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

Contrast with #CC31DD

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

Contrast Ratio: 5.05:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC31DD?

#CC31DD is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC31DD?

#CC31DD in RGB is (204, 49, 221) - 204 red, 49 green, and 221 blue.

How to use #CC31DD in CSS?

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

What colors go well with #CC31DD?

#42DD31 (complementary), #7631DD (analogous), and #991BA7 (lighter shade) work well with #CC31DD.