Color: #C5171C

#C5171C Color Information

#C5171C is a dark color. The closest websafe version is #C5171C. A complement of this color would be #17C4BE, perceived brightness is 0.30, and the grayscale version is #6E6E6E.

In the HSL color space, this color has a hue angle of 358°,a saturation of 79%, and a lightness of 43%.The HSV representation shows a hue of 358°, a saturation of 88%, and a value of 77%.

In a RGB color space, #C5171C is composed of 77% red, 9% green and 11% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 88% magenta, 86% yellow and 23% black.

In the Yxy color space, this color is represented as Y: 13.11, x: 0.6266, and y: 0.3307.

Color Code #C5171C

#C5171Crgb(197, 23, 28)
HEX
#C5171C
RGB
rgb(197, 23, 28)
HSL
hsl(358, 79%, 43%)
HSV
hsv(358, 88%, 77%)
CMYK
0%, 88%, 86%, 23%
XYZ
X: 24.84, Y: 13.11, Z: 1.69
Lab
L: 42.93, a: 64.18, b: 46.87
Name

Shades of Color #C5171C

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

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

#C5171Crgb(197, 23, 28)

About #C5171C Color Code

In the HSL color space, this color has a hue angle of 358°, a saturation of 79%, and a lightness of 43%. The HSV representation shows a hue of 358°, a saturation of 88%, and a value of 77%.

  • HEX: #C5171C
  • RGB: rgb(197, 23, 28)
  • HSL: hsl(358, 79%, 43%)
  • HSV: hsv(358, 88%, 77%)
  • CMYK: 0.00% cyan, 88.00% magenta, 86.00% yellow, 23.00% black
  • XYZ: 24.84, 13.11, 1.69
  • Yxy: 13.11, 0.6266, 0.3307
  • Hunter Lab: 42.93, 64.18, 46.87
  • CIE-Lab: 42.93, 64.18, 46.87

In the XYZ color space, this color is represented as X: 24.84, Y: 13.11, Z: 1.69. The Yxy representation further refines this as Y: 13.11, x: 0.6266, and y: 0.3307.

In the Hunter Lab color space, this color is represented as L: 42.93, a: 64.18, and b: 46.87. Similarly, in the CIE-Lab color space, it is represented as L: 42.93, a: 64.18, and b: 46.87.

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

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

Analogous Colors of #C5171C

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

Monochromatic Colors of #C5171C

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

Complementary Color of #C5171C

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

/* Using HEX */
body {
  background-color: #c5171c;
}
/* Using RGB */
body {
  background-color: rgb(197, 23, 28);
}
/* Using RGB with opacity */
body {
  background-color: rgba(197, 23, 28, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(358, 79%, 43%);
}
/* Text color */
p {
  color: #c5171c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #c5171c;
}
/* Border color */
.box {
  border: 4px solid #c5171c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #c5171c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #c5171c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#C5171C
On Black Background
#C5171C
On White Background
#C5171C

HTML Examples of #C5171C

<!-- Using HEX -->
<div style="background-color: #c5171c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(197, 23, 28); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(197, 23, 28, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(358, 79%, 43%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #c5171c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #c5171c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #c5171c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #c5171c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #c5171c; color: #fff; padding: 16px; border-radius: 8px;">
  #C5171C
</div>
#C5171C
On Black Background
#C5171C
On White Background
#C5171C

Related Colors of #C5171C

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