Color: #512D2C

#512D2C Color Information

#512D2C is a dark color. The closest websafe version is #512D2C. A complement of this color would be #2D5253, perceived brightness is 0.22, and the grayscale version is #3E3E3E.

In the HSL color space, this color has a hue angle of 2°,a saturation of 30%, and a lightness of 25%.The HSV representation shows a hue of 2°, a saturation of 46%, and a value of 32%.

In a RGB color space, #512D2C is composed of 32% red, 18% green and 17% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 44% magenta, 46% yellow and 68% black.

In the Yxy color space, this color is represented as Y: 3.86, x: 0.4513, and y: 0.3512.

Color Code #512D2C

#512D2Crgb(81, 45, 44)
HEX
#512D2C
RGB
rgb(81, 45, 44)
HSL
hsl(2, 30%, 25%)
HSV
hsv(2, 46%, 32%)
CMYK
0%, 44%, 46%, 68%
XYZ
X: 4.96, Y: 3.86, Z: 2.17
Lab
L: 23.22, a: 16.89, b: 8.16
Name

Shades of Color #512D2C

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

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

#512D2Crgb(81, 45, 44)

About #512D2C Color Code

In the HSL color space, this color has a hue angle of 2°, a saturation of 30%, and a lightness of 25%. The HSV representation shows a hue of 2°, a saturation of 46%, and a value of 32%.

  • HEX: #512D2C
  • RGB: rgb(81, 45, 44)
  • HSL: hsl(2, 30%, 25%)
  • HSV: hsv(2, 46%, 32%)
  • CMYK: 0.00% cyan, 44.00% magenta, 46.00% yellow, 68.00% black
  • XYZ: 4.96, 3.86, 2.17
  • Yxy: 3.86, 0.4513, 0.3512
  • Hunter Lab: 23.22, 16.89, 8.16
  • CIE-Lab: 23.22, 16.89, 8.16

In the XYZ color space, this color is represented as X: 4.96, Y: 3.86, Z: 2.17. The Yxy representation further refines this as Y: 3.86, x: 0.4513, and y: 0.3512.

In the Hunter Lab color space, this color is represented as L: 23.22, a: 16.89, and b: 8.16. Similarly, in the CIE-Lab color space, it is represented as L: 23.22, a: 16.89, and b: 8.16.

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 #512D2C

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

Analogous Colors of #512D2C

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

Monochromatic Colors of #512D2C

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

Complementary Color of #512D2C

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

/* Using HEX */
body {
  background-color: #512d2c;
}
/* Using RGB */
body {
  background-color: rgb(81, 45, 44);
}
/* Using RGB with opacity */
body {
  background-color: rgba(81, 45, 44, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(2, 30%, 25%);
}
/* Text color */
p {
  color: #512d2c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #512d2c;
}
/* Border color */
.box {
  border: 4px solid #512d2c;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #512d2c;
}
Text Shadow Preview
/* Background with text */
div {
  background: #512d2c;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#512D2C
On Black Background
#512D2C
On White Background
#512D2C

HTML Examples of #512D2C

<!-- Using HEX -->
<div style="background-color: #512d2c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(81, 45, 44); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(81, 45, 44, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(2, 30%, 25%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #512d2c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #512d2c; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #512d2c; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #512d2c;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #512d2c; color: #fff; padding: 16px; border-radius: 8px;">
  #512D2C
</div>
#512D2C
On Black Background
#512D2C
On White Background
#512D2C

Related Colors of #512D2C

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