Color: #51042C

#51042C Color Information

#51042C is a dark color. The closest websafe version is #51042C. A complement of this color would be #04532A, perceived brightness is 0.12, and the grayscale version is #2A2A2A.

In the HSL color space, this color has a hue angle of 329°,a saturation of 91%, and a lightness of 17%.The HSV representation shows a hue of 329°, a saturation of 95%, and a value of 32%.

In a RGB color space, #51042C is composed of 32% red, 2% green and 17% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 95% magenta, 46% yellow and 68% black.

In the Yxy color space, this color is represented as Y: 2.07, x: 0.5000, and y: 0.2587.

Color Code #51042C

#51042Crgb(81, 4, 44)
HEX
#51042C
RGB
rgb(81, 4, 44)
HSL
hsl(329, 91%, 17%)
HSV
hsv(329, 95%, 32%)
CMYK
0%, 95%, 46%, 68%
XYZ
X: 4.00, Y: 2.07, Z: 1.93
Lab
L: 15.85, a: 35.72, b: -2.23
Name

Shades of Color #51042C

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

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

#51042Crgb(81, 4, 44)

About #51042C Color Code

In the HSL color space, this color has a hue angle of 329°, a saturation of 91%, and a lightness of 17%. The HSV representation shows a hue of 329°, a saturation of 95%, and a value of 32%.

  • HEX: #51042C
  • RGB: rgb(81, 4, 44)
  • HSL: hsl(329, 91%, 17%)
  • HSV: hsv(329, 95%, 32%)
  • CMYK: 0.00% cyan, 95.00% magenta, 46.00% yellow, 68.00% black
  • XYZ: 4.00, 2.07, 1.93
  • Yxy: 2.07, 0.5000, 0.2587
  • Hunter Lab: 15.85, 35.72, -2.23
  • CIE-Lab: 15.85, 35.72, -2.23

In the XYZ color space, this color is represented as X: 4.00, Y: 2.07, Z: 1.93. The Yxy representation further refines this as Y: 2.07, x: 0.5000, and y: 0.2587.

In the Hunter Lab color space, this color is represented as L: 15.85, a: 35.72, and b: -2.23. Similarly, in the CIE-Lab color space, it is represented as L: 15.85, a: 35.72, and b: -2.23.

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 #51042C

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

Analogous Colors of #51042C

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

Monochromatic Colors of #51042C

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

Complementary Color of #51042C

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

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

HTML Examples of #51042C

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

Related Colors of #51042C

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