Color: #D8313C

#D8313C Color Information

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

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

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

In the Yxy color space, this color is represented as Y: 17.75, x: 0.5883, and y: 0.3287.

Color Code #D8313C

#D8313Crgb(216, 49, 60)
HEX
#D8313C
RGB
rgb(216, 49, 60)
HSL
hsl(356, 68%, 52%)
HSV
hsv(356, 77%, 85%)
CMYK
0%, 77%, 72%, 15%
XYZ
X: 31.77, Y: 17.75, Z: 4.48
Lab
L: 49.20, a: 64.33, b: 36.67
Name

Shades of Color #D8313C

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

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

#D8313Crgb(216, 49, 60)

About #D8313C Color Code

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

  • HEX: #D8313C
  • RGB: rgb(216, 49, 60)
  • HSL: hsl(356, 68%, 52%)
  • HSV: hsv(356, 77%, 85%)
  • CMYK: 0.00% cyan, 77.00% magenta, 72.00% yellow, 15.00% black
  • XYZ: 31.77, 17.75, 4.48
  • Yxy: 17.75, 0.5883, 0.3287
  • Hunter Lab: 49.20, 64.33, 36.67
  • CIE-Lab: 49.20, 64.33, 36.67

In the XYZ color space, this color is represented as X: 31.77, Y: 17.75, Z: 4.48. The Yxy representation further refines this as Y: 17.75, x: 0.5883, and y: 0.3287.

In the Hunter Lab color space, this color is represented as L: 49.20, a: 64.33, and b: 36.67. Similarly, in the CIE-Lab color space, it is represented as L: 49.20, a: 64.33, and b: 36.67.

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

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

Analogous Colors of #D8313C

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

Split Complementary Colors of #D8313C

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

Tetradic Colors of #D8313C

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

Monochromatic Colors of #D8313C

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

Complementary Color of #D8313C

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

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

HTML Examples of #D8313C

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

Related Colors of #D8313C

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