#CC248E Color Information

Hex color code: #CC248E

#CC248E is a neutral magenta color. In RGB it is (204, 36, 142), and in HSL it is (322°, 70%, 47%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#CC248E
RGB
204, 36, 142
HSL
322°, 70%, 47%
CMYK
0%, 82%, 30%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC248E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 36, 142

Red: 204 / Green: 36 / Blue: 142

HSL

322°, 70%, 47%

Hue: 322° / Saturation: 70% / Lightness: 47%

CMYK

0%, 82%, 30%, 20%

Cyan: 0% / Magenta: 82% / Yellow: 30% / Key: 20%

What color is #CC248E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC248E to RGB:

rgb(204, 36, 142)HEX to RGB Converter →

HEX to HSL

Convert #CC248E to HSL:

hsl(322, 70%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #CC248E to CMYK:

cmyk(0%, 82%, 30%, 20%)Color Converter →

Color Meaning and Usage

#CC248E is a neutral magenta color with RGB values of 204, 36, 142 and HSL of 322°, 70%, 47%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC248E is #24CC61, creating high-contrast pairings. For softer combinations, try analogous colors like #B524CC.

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

Contrast with #CC248E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC248E?

#CC248E is a neutral magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC248E?

#CC248E in RGB is (204, 36, 142) - 204 red, 36 green, and 142 blue.

How to use #CC248E in CSS?

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

What colors go well with #CC248E?

#24CC61 (complementary), #B524CC (analogous), and #8B1861 (lighter shade) work well with #CC248E.