Color: #CC51A1
#CC51A1 Color Information
#CC51A1 is a dark color. The closest websafe version is #CC51A1. A complement of this color would be #51CD7C, perceived brightness is 0.50, and the grayscale version is #8F8F8F.
In the HSL color space, this color has a hue angle of 321°,a saturation of 55%, and a lightness of 56%.The HSV representation shows a hue of 321°, a saturation of 60%, and a value of 80%.
In a RGB color space, #CC51A1 is composed of 80% red, 32% green and 63% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 60% magenta, 21% yellow and 20% black.
In the Yxy color space, this color is represented as Y: 21.49, x: 0.4160, and y: 0.2584.
Color Code #CC51A1
Shades of Color #CC51A1
Shades are created by darkening the original color #CC51A1 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #CC51A1
Tints are created by lightening the original color #CC51A1 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #CC51A1 Color Code
In the HSL color space, this color has a hue angle of 321°, a saturation of 55%, and a lightness of 56%. The HSV representation shows a hue of 321°, a saturation of 60%, and a value of 80%.
- HEX: #CC51A1
- RGB: rgb(204, 81, 161)
- HSL: hsl(321, 55%, 56%)
- HSV: hsv(321, 60%, 80%)
- CMYK: 0.00% cyan, 60.00% magenta, 21.00% yellow, 20.00% black
- XYZ: 34.60, 21.49, 27.09
- Yxy: 21.49, 0.4160, 0.2584
- Hunter Lab: 53.49, 55.79, -18.17
- CIE-Lab: 53.49, 55.79, -18.17
In the XYZ color space, this color is represented as X: 34.60, Y: 21.49, Z: 27.09. The Yxy representation further refines this as Y: 21.49, x: 0.4160, and y: 0.2584.
In the Hunter Lab color space, this color is represented as L: 53.49, a: 55.79, and b: -18.17. Similarly, in the CIE-Lab color space, it is represented as L: 53.49, a: 55.79, and b: -18.17.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #CC51A1
Triadic colors are three colors evenly spaced around the color wheel, including #CC51A1. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #CC51A1
Monochromatic colors are variations of #CC51A1, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #CC51A1
The complementary color of #CC51A1 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #CC51A1
/* Using HEX */ body { background-color: #cc51a1; }
/* Using RGB */ body { background-color: rgb(204, 81, 161); }
/* Using RGB with opacity */ body { background-color: rgba(204, 81, 161, 0.5); }
/* Using HSL */ body { background-color: hsl(321, 55%, 56%); }
/* Text color */ p { color: #cc51a1; }
/* Box shadow */ div { box-shadow: 4px 4px #cc51a1; }
/* Border color */ .box { border: 4px solid #cc51a1; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #cc51a1; }
/* Background with text */ div { background: #cc51a1; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #CC51A1
<!-- Using HEX --> <div style="background-color: #cc51a1; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(204, 81, 161); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(204, 81, 161, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(321, 55%, 56%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #cc51a1;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #cc51a1; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #cc51a1; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #cc51a1;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #cc51a1; color: #fff; padding: 16px; border-radius: 8px;"> #CC51A1 </div>
Related Colors of #CC51A1
These colors are similar to #CC51A1, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.