Color: #31212C

#31212C Color Information

#31212C is a dark color. The closest websafe version is #31212C. A complement of this color would be #213126, perceived brightness is 0.15, and the grayscale version is #292929.

In the HSL color space, this color has a hue angle of 319°,a saturation of 20%, and a lightness of 16%.The HSV representation shows a hue of 319°, a saturation of 100%, and a value of 100%.

In a RGB color space, #31212C is composed of 19% red, 13% green and 17% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 33% magenta, 10% yellow and 81% black.

In the Yxy color space, this color is represented as Y: 1.93, x: 0.3688, and y: 0.3108.

Color Code #31212C

HEX
#31212C
RGB
rgb(49, 33, 44)
HSL
hsl(319, 20%, 16%)
HSV
hsv(319, 33%, 19%)
CMYK
0%, 33%, 10%, 81%
XYZ
X: 2.29, Y: 1.93, Z: 1.99
Lab
L: 15.10, a: 9.59, b: -4.16
Name

Shades of Color #31212C

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

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

About #31212C Color Code

In the HSL color space, this color has a hue angle of 319°, a saturation of 20%, and a lightness of 16%. The HSV representation shows a hue of 319°, a saturation of 33%, and a value of 19%.

  • HEX: #31212C
  • RGB: rgb(49, 33, 44)
  • HSL: hsl(319, 20%, 16%)
  • HSV: hsv(319, 33%, 19%)
  • CMYK: 0.00% cyan, 33.00% magenta, 10.00% yellow, 81.00% black
  • XYZ: 2.29, 1.93, 1.99
  • Yxy: 1.93, 0.3688, 0.3108
  • Hunter Lab: 15.10, 9.59, -4.16
  • CIE-Lab: 15.10, 9.59, -4.16

In the XYZ color space, this color is represented as X: 2.29, Y: 1.93, Z: 1.99. The Yxy representation further refines this as Y: 1.93, x: 0.3688, and y: 0.3108.

In the Hunter Lab color space, this color is represented as L: 15.10, a: 9.59, and b: -4.16. Similarly, in the CIE-Lab color space, it is represented as L: 15.10, a: 9.59, and b: -4.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 #31212C

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

Analogous Colors of #31212C

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

Monochromatic Colors of #31212C

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

Complementary Color of #31212C

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

/* Using HEX */
body {
  background-color: #31212c;
}
/* Using RGB */
body {
  background-color: rgb(49, 33, 44);
}
/* Using RGB with opacity */
body {
  background-color: rgba(49, 33, 44, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(319, 20%, 16%);
}
/* Text color */
p {
  color: #31212c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #31212c;
}

HTML Examples of #31212C

<!-- Using HEX -->
<div style="background-color: #31212c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(49, 33, 44); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(49, 33, 44, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(319, 20%, 16%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #31212c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #31212c; width: 100px; height: 100px;"></div>

Related Colors of #31212C

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