#CC28BF Color Information

Hex color code: #CC28BF

#CC28BF is a neutral magenta color. In RGB it is (204, 40, 191), and in HSL it is (305°, 67%, 48%). It is commonly used in modern UI design.

Try:
Color NameViolet Red
HEX
#CC28BF
RGB
204, 40, 191
HSL
305°, 67%, 48%
CMYK
0%, 80%, 6%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CC28BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 40, 191

Red: 204 / Green: 40 / Blue: 191

HSL

305°, 67%, 48%

Hue: 305° / Saturation: 67% / Lightness: 48%

CMYK

0%, 80%, 6%, 20%

Cyan: 0% / Magenta: 80% / Yellow: 6% / Key: 20%

What color is #CC28BF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CC28BF to RGB:

rgb(204, 40, 191)HEX to RGB Converter →

HEX to HSL

Convert #CC28BF to HSL:

hsl(305, 67%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #CC28BF to CMYK:

cmyk(0%, 80%, 6%, 20%)Color Converter →

Color Meaning and Usage

#CC28BF is a understated magenta color with RGB values of 204, 40, 191 and HSL of 305°, 67%, 48%. This magenta-red hue evokes romance and playfulness, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CC28BF is #28CC36, creating high-contrast pairings. For softer combinations, try analogous colors like #8828CC.

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

Contrast with #CC28BF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CC28BF?

#CC28BF is a understated magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CC28BF?

#CC28BF in RGB is (204, 40, 191) - 204 red, 40 green, and 191 blue.

How to use #CC28BF in CSS?

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

What colors go well with #CC28BF?

#28CC36 (complementary), #8828CC (analogous), and #8D1C83 (lighter shade) work well with #CC28BF.