Color: #DB40CC

#DB40CC Color Information

#DB40CC is a dark color. The closest websafe version is #DB40CC. A complement of this color would be #3EDA4E, perceived brightness is 0.50, and the grayscale version is #8D8D8D.

In the HSL color space, this color has a hue angle of 306°,a saturation of 68%, and a lightness of 55%.The HSV representation shows a hue of 306°, a saturation of 71%, and a value of 86%.

In a RGB color space, #DB40CC is composed of 86% red, 25% green and 80% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 71% magenta, 7% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 23.10, x: 0.3800, and y: 0.2115.

Color Code #DB40CC

#DB40CCrgb(219, 64, 204)
HEX
#DB40CC
RGB
rgb(219, 64, 204)
HSL
hsl(306, 68%, 55%)
HSV
hsv(306, 71%, 86%)
CMYK
0%, 71%, 7%, 14%
XYZ
X: 41.50, Y: 23.10, Z: 44.61
Lab
L: 55.17, a: 70.74, b: -40.21
Name

Shades of Color #DB40CC

Shades are created by darkening the original color #DB40CC 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 #DB40CC

Tints are created by lightening the original color #DB40CC 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.

#DB40CCrgb(219, 64, 204)

About #DB40CC Color Code

In the HSL color space, this color has a hue angle of 306°, a saturation of 68%, and a lightness of 55%. The HSV representation shows a hue of 306°, a saturation of 71%, and a value of 86%.

  • HEX: #DB40CC
  • RGB: rgb(219, 64, 204)
  • HSL: hsl(306, 68%, 55%)
  • HSV: hsv(306, 71%, 86%)
  • CMYK: 0.00% cyan, 71.00% magenta, 7.00% yellow, 14.00% black
  • XYZ: 41.50, 23.10, 44.61
  • Yxy: 23.10, 0.3800, 0.2115
  • Hunter Lab: 55.17, 70.74, -40.21
  • CIE-Lab: 55.17, 70.74, -40.21

In the XYZ color space, this color is represented as X: 41.50, Y: 23.10, Z: 44.61. The Yxy representation further refines this as Y: 23.10, x: 0.3800, and y: 0.2115.

In the Hunter Lab color space, this color is represented as L: 55.17, a: 70.74, and b: -40.21. Similarly, in the CIE-Lab color space, it is represented as L: 55.17, a: 70.74, and b: -40.21.

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 #DB40CC

Triadic colors are three colors evenly spaced around the color wheel, including #DB40CC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #DB40CC

Analogous colors are adjacent to #DB40CC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #DB40CC

Monochromatic colors are variations of #DB40CC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #DB40CC

The complementary color of #DB40CC 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 #DB40CC

/* Using HEX */
body {
  background-color: #db40cc;
}
/* Using RGB */
body {
  background-color: rgb(219, 64, 204);
}
/* Using RGB with opacity */
body {
  background-color: rgba(219, 64, 204, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(306, 68%, 55%);
}
/* Text color */
p {
  color: #db40cc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #db40cc;
}
/* Border color */
.box {
  border: 4px solid #db40cc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #db40cc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #db40cc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#DB40CC
On Black Background
#DB40CC
On White Background
#DB40CC

HTML Examples of #DB40CC

<!-- Using HEX -->
<div style="background-color: #db40cc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(219, 64, 204); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(219, 64, 204, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(306, 68%, 55%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #db40cc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #db40cc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #db40cc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #db40cc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #db40cc; color: #fff; padding: 16px; border-radius: 8px;">
  #DB40CC
</div>
#DB40CC
On Black Background
#DB40CC
On White Background
#DB40CC

Related Colors of #DB40CC

These colors are similar to #DB40CC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.