Color: #D7238C
#D7238C Color Information
#D7238C is a dark color. The closest websafe version is #D7238C. A complement of this color would be #23D76E, perceived brightness is 0.40, and the grayscale version is #7D7D7D.
In the HSL color space, this color has a hue angle of 325°,a saturation of 72%, and a lightness of 49%.The HSV representation shows a hue of 325°, a saturation of 84%, and a value of 84%.
In a RGB color space, #D7238C is composed of 84% red, 14% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 84% magenta, 35% yellow and 16% black.
In the Yxy color space, this color is represented as Y: 17.91, x: 0.4741, and y: 0.2495.
Color Code #D7238C
Shades of Color #D7238C
Shades are created by darkening the original color #D7238C 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 #D7238C
Tints are created by lightening the original color #D7238C 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 #D7238C Color Code
In the HSL color space, this color has a hue angle of 325°, a saturation of 72%, and a lightness of 49%. The HSV representation shows a hue of 325°, a saturation of 84%, and a value of 84%.
- HEX: #D7238C
- RGB: rgb(215, 35, 140)
- HSL: hsl(325, 72%, 49%)
- HSV: hsv(325, 84%, 84%)
- CMYK: 0.00% cyan, 84.00% magenta, 35.00% yellow, 16.00% black
- XYZ: 34.03, 17.91, 19.84
- Yxy: 17.91, 0.4741, 0.2495
- Hunter Lab: 49.39, 71.49, -11.62
- CIE-Lab: 49.39, 71.49, -11.62
In the XYZ color space, this color is represented as X: 34.03, Y: 17.91, Z: 19.84. The Yxy representation further refines this as Y: 17.91, x: 0.4741, and y: 0.2495.
In the Hunter Lab color space, this color is represented as L: 49.39, a: 71.49, and b: -11.62. Similarly, in the CIE-Lab color space, it is represented as L: 49.39, a: 71.49, and b: -11.62.
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 #D7238C
Triadic colors are three colors evenly spaced around the color wheel, including #D7238C. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #D7238C
Split complementary colors are two colors adjacent to the complementary color of #D7238C. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #D7238C
Monochromatic colors are variations of #D7238C, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #D7238C
The complementary color of #D7238C 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 #D7238C
/* Using HEX */ body { background-color: #d7238c; }
/* Using RGB */ body { background-color: rgb(215, 35, 140); }
/* Using RGB with opacity */ body { background-color: rgba(215, 35, 140, 0.5); }
/* Using HSL */ body { background-color: hsl(325, 72%, 49%); }
/* Text color */ p { color: #d7238c; }
/* Box shadow */ div { box-shadow: 4px 4px #d7238c; }
/* Border color */ .box { border: 4px solid #d7238c; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #d7238c; }
/* Background with text */ div { background: #d7238c; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #D7238C
<!-- Using HEX --> <div style="background-color: #d7238c; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(215, 35, 140); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(215, 35, 140, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(325, 72%, 49%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #d7238c;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #d7238c; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #d7238c; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #d7238c;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #d7238c; color: #fff; padding: 16px; border-radius: 8px;"> #D7238C </div>
Related Colors of #D7238C
These colors are similar to #D7238C, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.