Color: #D840CC

#D840CC Color Information

#D840CC is a dark color. The closest websafe version is #D840CC. A complement of this color would be #41D84D, perceived brightness is 0.49, and the grayscale version is #8C8C8C.

In the HSL color space, this color has a hue angle of 305°,a saturation of 66%, and a lightness of 55%.The HSV representation shows a hue of 305°, a saturation of 70%, and a value of 85%.

In a RGB color space, #D840CC is composed of 85% red, 25% green and 80% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70% magenta, 6% yellow and 15% black.

In the Yxy color space, this color is represented as Y: 22.61, x: 0.3764, and y: 0.2098.

Color Code #D840CC

#D840CCrgb(216, 64, 204)
HEX
#D840CC
RGB
rgb(216, 64, 204)
HSL
hsl(305, 66%, 55%)
HSV
hsv(305, 70%, 85%)
CMYK
0%, 70%, 6%, 15%
XYZ
X: 40.56, Y: 22.61, Z: 44.58
Lab
L: 54.67, a: 70.01, b: -41.04
Name

Shades of Color #D840CC

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

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

#D840CCrgb(216, 64, 204)

About #D840CC Color Code

In the HSL color space, this color has a hue angle of 305°, a saturation of 66%, and a lightness of 55%. The HSV representation shows a hue of 305°, a saturation of 70%, and a value of 85%.

  • HEX: #D840CC
  • RGB: rgb(216, 64, 204)
  • HSL: hsl(305, 66%, 55%)
  • HSV: hsv(305, 70%, 85%)
  • CMYK: 0.00% cyan, 70.00% magenta, 6.00% yellow, 15.00% black
  • XYZ: 40.56, 22.61, 44.58
  • Yxy: 22.61, 0.3764, 0.2098
  • Hunter Lab: 54.67, 70.01, -41.04
  • CIE-Lab: 54.67, 70.01, -41.04

In the XYZ color space, this color is represented as X: 40.56, Y: 22.61, Z: 44.58. The Yxy representation further refines this as Y: 22.61, x: 0.3764, and y: 0.2098.

In the Hunter Lab color space, this color is represented as L: 54.67, a: 70.01, and b: -41.04. Similarly, in the CIE-Lab color space, it is represented as L: 54.67, a: 70.01, and b: -41.04.

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

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

Analogous Colors of #D840CC

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

Split Complementary Colors of #D840CC

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

Tetradic Colors of #D840CC

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

Monochromatic Colors of #D840CC

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

Complementary Color of #D840CC

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

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

HTML Examples of #D840CC

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

Related Colors of #D840CC

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