#402526 color
The hex color #402526 is a very dark, desaturated red.
In the RGB color model it is made of 25.1% red, 14.5% green and 14.9% blue (64, 37, 38).
Its hue angle is 358°, with 27% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 41% yellow and 75% black.
The closest named color is Dark Roast (#4A2D2F), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.9:1).
#402526 color codes
| HEX | #402526 | |
|---|---|---|
| RGB | rgb(64, 37, 38) | |
| RGB percent | rgb(25.1%, 14.5%, 14.9%) | |
| HSL | hsl(358, 27%, 20%) | |
| HSV / HSB | hsv(358, 42%, 25%) | |
| CMYK | cmyk(0%, 42%, 41%, 75%) | |
| CIE LAB | lab(18.16, 12.96, 4.74) | |
| CIE LCH | lch(18.16, 13.8, 20.08) | |
| CIE XYZ | xyz(3.126, 2.553, 2.162) | |
| Decimal | 4203814 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402526, 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 #402526 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.9:1 | Pass | Pass | Pass |
| #402526 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.9:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #402526 looks to people with the most common types of color vision deficiency.
#2a2926Protanopia
no red cones#312e26Deuteranopia
no green cones#452225Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #402526; }
.text { color: #402526; }
.border { border: 2px solid #402526; }
.transparent { background-color: rgb(64 37 38 / 50%); }
.gradient { background: linear-gradient(to right, #402526, #403125); }
Similar colors
#4a2d2fDark Roast#4a2c2aBrown Coffee#3e2723Ethereal Espresso#372528Aubergine#4e312dEspresso#3b1921Bruised Plum#492a34Wine Tasting#3b2b2cHavana
Questions
- What color is #402526?
- #402526 is a very dark, desaturated red, closest to the named color Dark Roast. It belongs to the red family of colors.
- What is the RGB value of #402526?
- The RGB value is 64, 37, 38: 64 red, 37 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #402526?
- The complementary color is #25403F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402526?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.9:1. WCAG asks for at least 4.5:1 for normal text.