Color: #DB31C8
#DB31C8 Color Information
#DB31C8 is a dark color. The closest websafe version is #DB31C8. A complement of this color would be #33DB47, perceived brightness is 0.46, and the grayscale version is #868686.
In the HSL color space, this color has a hue angle of 307°,a saturation of 70%, and a lightness of 53%.The HSV representation shows a hue of 307°, a saturation of 78%, and a value of 86%.
In a RGB color space, #DB31C8 is composed of 86% red, 19% green and 78% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 78% magenta, 9% yellow and 14% black.
In the Yxy color space, this color is represented as Y: 21.46, x: 0.3867, and y: 0.2057.
Color Code #DB31C8
Shades of Color #DB31C8
Shades are created by darkening the original color #DB31C8 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 #DB31C8
Tints are created by lightening the original color #DB31C8 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 #DB31C8 Color Code
In the HSL color space, this color has a hue angle of 307°, a saturation of 70%, and a lightness of 53%. The HSV representation shows a hue of 307°, a saturation of 78%, and a value of 86%.
- HEX: #DB31C8
- RGB: rgb(219, 49, 200)
- HSL: hsl(307, 70%, 53%)
- HSV: hsv(307, 78%, 86%)
- CMYK: 0.00% cyan, 78.00% magenta, 9.00% yellow, 14.00% black
- XYZ: 40.34, 21.46, 42.53
- Yxy: 21.46, 0.3867, 0.2057
- Hunter Lab: 53.45, 74.58, -40.61
- CIE-Lab: 53.45, 74.58, -40.61
In the XYZ color space, this color is represented as X: 40.34, Y: 21.46, Z: 42.53. The Yxy representation further refines this as Y: 21.46, x: 0.3867, and y: 0.2057.
In the Hunter Lab color space, this color is represented as L: 53.45, a: 74.58, and b: -40.61. Similarly, in the CIE-Lab color space, it is represented as L: 53.45, a: 74.58, and b: -40.61.
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 #DB31C8
Triadic colors are three colors evenly spaced around the color wheel, including #DB31C8. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #DB31C8
Split complementary colors are two colors adjacent to the complementary color of #DB31C8. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #DB31C8
Monochromatic colors are variations of #DB31C8, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #DB31C8
The complementary color of #DB31C8 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 #DB31C8
/* Using HEX */ body { background-color: #db31c8; }
/* Using RGB */ body { background-color: rgb(219, 49, 200); }
/* Using RGB with opacity */ body { background-color: rgba(219, 49, 200, 0.5); }
/* Using HSL */ body { background-color: hsl(307, 70%, 53%); }
/* Text color */ p { color: #db31c8; }
/* Box shadow */ div { box-shadow: 4px 4px #db31c8; }
/* Border color */ .box { border: 4px solid #db31c8; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #db31c8; }
/* Background with text */ div { background: #db31c8; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #DB31C8
<!-- Using HEX --> <div style="background-color: #db31c8; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(219, 49, 200); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(219, 49, 200, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(307, 70%, 53%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #db31c8;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #db31c8; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #db31c8; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #db31c8;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #db31c8; color: #fff; padding: 16px; border-radius: 8px;"> #DB31C8 </div>
Related Colors of #DB31C8
These colors are similar to #DB31C8, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.