Color: #402B1F
#402B1F Color Information
#402B1F is a dark color. The closest websafe version is #402B1F. A complement of this color would be #1F3541, perceived brightness is 0.19, and the grayscale version is #303030.
In the HSL color space, this color has a hue angle of 22°,a saturation of 35%, and a lightness of 19%.The HSV representation shows a hue of 22°, a saturation of 100%, and a value of 100%.
In a RGB color space, #402B1F is composed of 25% red, 17% green and 12% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 33% magenta, 52% yellow and 75% black.
In the Yxy color space, this color is represented as Y: 2.96, x: 0.4421, and y: 0.3895.
Color Code #402B1F
Shades of Color #402B1F
Shades are created by darkening the original color #402B1F 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 #402B1F
Tints are created by lightening the original color #402B1F 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 #402B1F Color Code
In the HSL color space, this color has a hue angle of 22°, a saturation of 35%, and a lightness of 19%. The HSV representation shows a hue of 22°, a saturation of 52%, and a value of 25%.
- HEX: #402B1F
- RGB: rgb(64, 43, 31)
- HSL: hsl(22, 35%, 19%)
- HSV: hsv(22, 52%, 25%)
- CMYK: 0.00% cyan, 33.00% magenta, 52.00% yellow, 75.00% black
- XYZ: 3.36, 2.96, 1.28
- Yxy: 2.96, 0.4421, 0.3895
- Hunter Lab: 19.87, 8.75, 11.90
- CIE-Lab: 19.87, 8.75, 11.90
In the XYZ color space, this color is represented as X: 3.36, Y: 2.96, Z: 1.28. The Yxy representation further refines this as Y: 2.96, x: 0.4421, and y: 0.3895.
In the Hunter Lab color space, this color is represented as L: 19.87, a: 8.75, and b: 11.90. Similarly, in the CIE-Lab color space, it is represented as L: 19.87, a: 8.75, and b: 11.90.
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 #402B1F
Triadic colors are three colors evenly spaced around the color wheel, including #402B1F. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #402B1F
Monochromatic colors are variations of #402B1F, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #402B1F
The complementary color of #402B1F 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 #402B1F
/* Using HEX */ body { background-color: #402b1f; }
/* Using RGB */ body { background-color: rgb(64, 43, 31); }
/* Using RGB with opacity */ body { background-color: rgba(64, 43, 31, 0.5); }
/* Using HSL */ body { background-color: hsl(22, 35%, 19%); }
/* Text color */ p { color: #402b1f; }
/* Box shadow */ div { box-shadow: 4px 4px #402b1f; }
HTML Examples of #402B1F
<!-- Using HEX --> <div style="background-color: #402b1f; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(64, 43, 31); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(64, 43, 31, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(22, 35%, 19%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #402b1f;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #402b1f; width: 100px; height: 100px;"></div>
Related Colors of #402B1F
These colors are similar to #402B1F, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.