#402A32 color
The hex color #402A32 is a dark, grayish rose.
In the RGB color model it is made of 25.1% red, 16.5% green and 19.6% blue (64, 42, 50).
Its hue angle is 338°, with 21% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 22% yellow and 75% black.
The closest named color is Wine Tasting (#492A34), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.16:1).
#402A32 color codes
| HEX | #402A32 | |
|---|---|---|
| RGB | rgb(64, 42, 50) | |
| RGB percent | rgb(25.1%, 16.5%, 19.6%) | |
| HSL | hsl(338, 21%, 21%) | |
| HSV / HSB | hsv(338, 34%, 25%) | |
| CMYK | cmyk(0%, 34%, 22%, 75%) | |
| CIE LAB | lab(19.95, 11.68, -1.04) | |
| CIE LCH | lch(19.95, 11.73, 354.93) | |
| CIE XYZ | xyz(3.518, 2.976, 3.406) | |
| Decimal | 4205106 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402A32, 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 #402A32 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.16:1 | Pass | Pass | Pass |
| #402A32 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.16:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #402A32 looks to people with the most common types of color vision deficiency.
#2c2e32Protanopia
no red cones#323231Deuteranopia
no green cones#43292dTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #402a32; }
.text { color: #402a32; }
.border { border: 2px solid #402a32; }
.transparent { background-color: rgb(64 42 50 / 50%); }
.gradient { background: linear-gradient(to right, #402a32, #402d2a); }
Similar colors
#492a34Wine Tasting#372528Aubergine#443240Voodoo#44232fCastro#4a2d2fDark Roast#3b2b2cHavana#4b373aVibrant Vine#342931Melanzane
Closest common color name: Espresso.
Questions
- What color is #402A32?
- #402A32 is a dark, grayish rose, closest to the named color Wine Tasting. It belongs to the black family of colors.
- What is the RGB value of #402A32?
- The RGB value is 64, 42, 50: 64 red, 42 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #402A32?
- The complementary color is #2A4038, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402A32?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.16:1. WCAG asks for at least 4.5:1 for normal text.