#402022 color
The hex color #402022 is a very dark, desaturated red.
In the RGB color model it is made of 25.1% red, 12.5% green and 13.3% blue (64, 32, 34).
Its hue angle is 356°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 50% magenta, 47% yellow and 75% black.
The closest named color is Bruised Plum (#3B1921), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.51:1).
#402022 color codes
| HEX | #402022 | |
|---|---|---|
| RGB | rgb(64, 32, 34) | |
| RGB percent | rgb(25.1%, 12.5%, 13.3%) | |
| HSL | hsl(356, 33%, 19%) | |
| HSV / HSB | hsv(356, 50%, 25%) | |
| CMYK | cmyk(0%, 50%, 47%, 75%) | |
| CIE LAB | lab(16.69, 15.67, 5.5) | |
| CIE LCH | lch(16.69, 16.61, 19.34) | |
| CIE XYZ | xyz(2.92, 2.239, 1.791) | |
| Decimal | 4202530 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402022, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #402022 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.51:1 | Pass | Pass | Pass |
| #402022 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.51:1 | Pass | Pass | Pass |
| Sample text | 1.45:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #402022 looks to people with the most common types of color vision deficiency.
#262522Protanopia
no red cones#2e2c21Deuteranopia
no green cones#461c21Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #402022; }
.text { color: #402022; }
.border { border: 2px solid #402022; }
.transparent { background-color: rgb(64 32 34 / 50%); }
.gradient { background: linear-gradient(to right, #402022, #402e20); }
Similar colors
#3b1921Bruised Plum#4a2d2fDark Roast#4a2c2aBrown Coffee#522426Lonestar#3e2723Ethereal Espresso#44232fCastro#3e1825Black-Hearted#492a34Wine Tasting
Closest common color name: Espresso.
Questions
- What color is #402022?
- #402022 is a very dark, desaturated red, closest to the named color Bruised Plum. It belongs to the red family of colors.
- What is the RGB value of #402022?
- The RGB value is 64, 32, 34: 64 red, 32 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #402022?
- The complementary color is #20403E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402022?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.51:1. WCAG asks for at least 4.5:1 for normal text.