Color: #D42E9C
#D42E9C Color Information
#D42E9C is a dark color. The closest websafe version is #D42E9C. A complement of this color would be #30D567, perceived brightness is 0.42, and the grayscale version is #818181.
In the HSL color space, this color has a hue angle of 320°,a saturation of 66%, and a lightness of 51%.The HSV representation shows a hue of 320°, a saturation of 78%, and a value of 83%.
In a RGB color space, #D42E9C is composed of 83% red, 18% green and 61% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 78% magenta, 26% yellow and 17% black.
In the Yxy color space, this color is represented as Y: 18.62, x: 0.4422, and y: 0.2385.
Color Code #D42E9C
Shades of Color #D42E9C
Shades are created by darkening the original color #D42E9C 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 #D42E9C
Tints are created by lightening the original color #D42E9C 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 #D42E9C Color Code
In the HSL color space, this color has a hue angle of 320°, a saturation of 66%, and a lightness of 51%. The HSV representation shows a hue of 320°, a saturation of 78%, and a value of 83%.
- HEX: #D42E9C
- RGB: rgb(212, 46, 156)
- HSL: hsl(320, 66%, 51%)
- HSV: hsv(320, 78%, 83%)
- CMYK: 0.00% cyan, 78.00% magenta, 26.00% yellow, 17.00% black
- XYZ: 34.52, 18.62, 24.93
- Yxy: 18.62, 0.4422, 0.2385
- Hunter Lab: 50.24, 69.50, -19.98
- CIE-Lab: 50.24, 69.50, -19.98
In the XYZ color space, this color is represented as X: 34.52, Y: 18.62, Z: 24.93. The Yxy representation further refines this as Y: 18.62, x: 0.4422, and y: 0.2385.
In the Hunter Lab color space, this color is represented as L: 50.24, a: 69.50, and b: -19.98. Similarly, in the CIE-Lab color space, it is represented as L: 50.24, a: 69.50, and b: -19.98.
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 #D42E9C
Triadic colors are three colors evenly spaced around the color wheel, including #D42E9C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #D42E9C
Monochromatic colors are variations of #D42E9C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #D42E9C
The complementary color of #D42E9C 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 #D42E9C
/* Using HEX */ body { background-color: #d42e9c; }
/* Using RGB */ body { background-color: rgb(212, 46, 156); }
/* Using RGB with opacity */ body { background-color: rgba(212, 46, 156, 0.5); }
/* Using HSL */ body { background-color: hsl(320, 66%, 51%); }
/* Text color */ p { color: #d42e9c; }
/* Box shadow */ div { box-shadow: 4px 4px #d42e9c; }
/* Border color */ .box { border: 4px solid #d42e9c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #d42e9c; }
/* Background with text */ div { background: #d42e9c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #D42E9C
<!-- Using HEX --> <div style="background-color: #d42e9c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(212, 46, 156); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(212, 46, 156, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(320, 66%, 51%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #d42e9c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #d42e9c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #d42e9c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #d42e9c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #d42e9c; color: #fff; padding: 16px; border-radius: 8px;"> #D42E9C </div>
Related Colors of #D42E9C
These colors are similar to #D42E9C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.