Color: #DB40A8

#DB40A8 Color Information

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

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

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

In the Yxy color space, this color is represented as Y: 21.81, x: 0.4287, and y: 0.2431.

Color Code #DB40A8

#DB40A8rgb(219, 64, 168)
HEX
#DB40A8
RGB
rgb(219, 64, 168)
HSL
hsl(320, 68%, 55%)
HSV
hsv(320, 71%, 86%)
CMYK
0%, 71%, 23%, 14%
XYZ
X: 38.47, Y: 21.81, Z: 29.45
Lab
L: 53.83, a: 67.11, b: -21.47
Name

Shades of Color #DB40A8

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

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

#DB40A8rgb(219, 64, 168)

About #DB40A8 Color Code

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

  • HEX: #DB40A8
  • RGB: rgb(219, 64, 168)
  • HSL: hsl(320, 68%, 55%)
  • HSV: hsv(320, 71%, 86%)
  • CMYK: 0.00% cyan, 71.00% magenta, 23.00% yellow, 14.00% black
  • XYZ: 38.47, 21.81, 29.45
  • Yxy: 21.81, 0.4287, 0.2431
  • Hunter Lab: 53.83, 67.11, -21.47
  • CIE-Lab: 53.83, 67.11, -21.47

In the XYZ color space, this color is represented as X: 38.47, Y: 21.81, Z: 29.45. The Yxy representation further refines this as Y: 21.81, x: 0.4287, and y: 0.2431.

In the Hunter Lab color space, this color is represented as L: 53.83, a: 67.11, and b: -21.47. Similarly, in the CIE-Lab color space, it is represented as L: 53.83, a: 67.11, and b: -21.47.

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

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

Analogous Colors of #DB40A8

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

Split Complementary Colors of #DB40A8

Split complementary colors are two colors adjacent to the complementary color of #DB40A8. They create a balanced and visually appealing color scheme.

Tetradic Colors of #DB40A8

Tetradic colors form a rectangle on the color wheel, including #DB40A8. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #DB40A8

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

Complementary Color of #DB40A8

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

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

HTML Examples of #DB40A8

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

Related Colors of #DB40A8

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