Color: #D42F9D
#D42F9D Color Information
#D42F9D is a dark color. The closest websafe version is #D42F9D. A complement of this color would be #30D567, perceived brightness is 0.43, and the grayscale version is #828282.
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, #D42F9D is composed of 83% red, 18% green and 62% 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.73, x: 0.4404, and y: 0.2382.
Color Code #D42F9D
Shades of Color #D42F9D
Shades are created by darkening the original color #D42F9D 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 #D42F9D
Tints are created by lightening the original color #D42F9D 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 #D42F9D 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: #D42F9D
- RGB: rgb(212, 47, 157)
- 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.63, 18.73, 25.27
- Yxy: 18.73, 0.4404, 0.2382
- Hunter Lab: 50.37, 69.32, -20.38
- CIE-Lab: 50.37, 69.32, -20.38
In the XYZ color space, this color is represented as X: 34.63, Y: 18.73, Z: 25.27. The Yxy representation further refines this as Y: 18.73, x: 0.4404, and y: 0.2382.
In the Hunter Lab color space, this color is represented as L: 50.37, a: 69.32, and b: -20.38. Similarly, in the CIE-Lab color space, it is represented as L: 50.37, a: 69.32, and b: -20.38.
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 #D42F9D
Triadic colors are three colors evenly spaced around the color wheel, including #D42F9D. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #D42F9D
Monochromatic colors are variations of #D42F9D, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #D42F9D
The complementary color of #D42F9D 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 #D42F9D
/* Using HEX */ body { background-color: #d42f9d; }
/* Using RGB */ body { background-color: rgb(212, 47, 157); }
/* Using RGB with opacity */ body { background-color: rgba(212, 47, 157, 0.5); }
/* Using HSL */ body { background-color: hsl(320, 66%, 51%); }
/* Text color */ p { color: #d42f9d; }
/* Box shadow */ div { box-shadow: 4px 4px #d42f9d; }
/* Border color */ .box { border: 4px solid #d42f9d; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #d42f9d; }
/* Background with text */ div { background: #d42f9d; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #D42F9D
<!-- Using HEX --> <div style="background-color: #d42f9d; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(212, 47, 157); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(212, 47, 157, 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: #d42f9d;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #d42f9d; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #d42f9d; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #d42f9d;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #d42f9d; color: #fff; padding: 16px; border-radius: 8px;"> #D42F9D </div>
Related Colors of #D42F9D
These colors are similar to #D42F9D, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.