Color: #31221C

#31221C Color Information

#31221C is a dark color. The closest websafe version is #31221C. A complement of this color would be #1C2B31, perceived brightness is 0.15, and the grayscale version is #272727.

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

In a RGB color space, #31221C is composed of 19% red, 13% green and 11% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 31% magenta, 43% yellow and 81% black.

In the Yxy color space, this color is represented as Y: 1.90, x: 0.4198, and y: 0.3762.

Color Code #31221C

HEX
#31221C
RGB
rgb(49, 34, 28)
HSL
hsl(17, 27%, 15%)
HSV
hsv(17, 43%, 19%)
CMYK
0%, 31%, 43%, 81%
XYZ
X: 2.12, Y: 1.90, Z: 1.03
Lab
L: 14.96, a: 6.67, b: 7.02
Name

Shades of Color #31221C

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

Tints are created by lightening the original color #31221C 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 #31221C Color Code

In the HSL color space, this color has a hue angle of 17°, a saturation of 27%, and a lightness of 15%. The HSV representation shows a hue of 17°, a saturation of 43%, and a value of 19%.

  • HEX: #31221C
  • RGB: rgb(49, 34, 28)
  • HSL: hsl(17, 27%, 15%)
  • HSV: hsv(17, 43%, 19%)
  • CMYK: 0.00% cyan, 31.00% magenta, 43.00% yellow, 81.00% black
  • XYZ: 2.12, 1.90, 1.03
  • Yxy: 1.90, 0.4198, 0.3762
  • Hunter Lab: 14.96, 6.67, 7.02
  • CIE-Lab: 14.96, 6.67, 7.02

In the XYZ color space, this color is represented as X: 2.12, Y: 1.90, Z: 1.03. The Yxy representation further refines this as Y: 1.90, x: 0.4198, and y: 0.3762.

In the Hunter Lab color space, this color is represented as L: 14.96, a: 6.67, and b: 7.02. Similarly, in the CIE-Lab color space, it is represented as L: 14.96, a: 6.67, and b: 7.02.

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

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

Analogous Colors of #31221C

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

Monochromatic Colors of #31221C

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

Complementary Color of #31221C

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

/* Using HEX */
body {
  background-color: #31221c;
}
/* Using RGB */
body {
  background-color: rgb(49, 34, 28);
}
/* Using RGB with opacity */
body {
  background-color: rgba(49, 34, 28, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(17, 27%, 15%);
}
/* Text color */
p {
  color: #31221c;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #31221c;
}

HTML Examples of #31221C

<!-- Using HEX -->
<div style="background-color: #31221c; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(49, 34, 28); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(49, 34, 28, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(17, 27%, 15%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #31221c;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #31221c; width: 100px; height: 100px;"></div>

Related Colors of #31221C

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