Color: #D8318C

#D8318C Color Information

#D8318C is a dark color. The closest websafe version is #D8318C. A complement of this color would be #31D87C, perceived brightness is 0.43, and the grayscale version is #858585.

In the HSL color space, this color has a hue angle of 327°,a saturation of 68%, and a lightness of 52%.The HSV representation shows a hue of 327°, a saturation of 77%, and a value of 85%.

In a RGB color space, #D8318C is composed of 85% red, 19% green and 55% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 77% magenta, 35% yellow and 15% black.

In the Yxy color space, this color is represented as Y: 19.07, x: 0.4718, and y: 0.2579.

Color Code #D8318C

#D8318Crgb(216, 49, 140)
HEX
#D8318C
RGB
rgb(216, 49, 140)
HSL
hsl(327, 68%, 52%)
HSV
hsv(327, 77%, 85%)
CMYK
0%, 77%, 35%, 15%
XYZ
X: 34.88, Y: 19.07, Z: 19.98
Lab
L: 50.77, a: 68.46, b: -9.54
Name

Shades of Color #D8318C

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

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

#D8318Crgb(216, 49, 140)

About #D8318C Color Code

In the HSL color space, this color has a hue angle of 327°, a saturation of 68%, and a lightness of 52%. The HSV representation shows a hue of 327°, a saturation of 77%, and a value of 85%.

  • HEX: #D8318C
  • RGB: rgb(216, 49, 140)
  • HSL: hsl(327, 68%, 52%)
  • HSV: hsv(327, 77%, 85%)
  • CMYK: 0.00% cyan, 77.00% magenta, 35.00% yellow, 15.00% black
  • XYZ: 34.88, 19.07, 19.98
  • Yxy: 19.07, 0.4718, 0.2579
  • Hunter Lab: 50.77, 68.46, -9.54
  • CIE-Lab: 50.77, 68.46, -9.54

In the XYZ color space, this color is represented as X: 34.88, Y: 19.07, Z: 19.98. The Yxy representation further refines this as Y: 19.07, x: 0.4718, and y: 0.2579.

In the Hunter Lab color space, this color is represented as L: 50.77, a: 68.46, and b: -9.54. Similarly, in the CIE-Lab color space, it is represented as L: 50.77, a: 68.46, and b: -9.54.

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

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

Analogous Colors of #D8318C

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

Split Complementary Colors of #D8318C

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

Tetradic Colors of #D8318C

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

Monochromatic Colors of #D8318C

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

Complementary Color of #D8318C

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

/* Using HEX */
body {
  background-color: #d8318c;
}
/* Using RGB */
body {
  background-color: rgb(216, 49, 140);
}
/* Using RGB with opacity */
body {
  background-color: rgba(216, 49, 140, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(327, 68%, 52%);
}
/* Text color */
p {
  color: #d8318c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d8318c;
}
/* Border color */
.box {
  border: 4px solid #d8318c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d8318c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d8318c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D8318C
On Black Background
#D8318C
On White Background
#D8318C

HTML Examples of #D8318C

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

Related Colors of #D8318C

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