#40202B color
The hex color #40202B is a very dark, desaturated rose.
In the RGB color model it is made of 25.1% red, 12.5% green and 16.9% blue (64, 32, 43).
Its hue angle is 339°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 0% cyan, 50% magenta, 33% yellow and 75% black.
The closest named color is Castro (#44232F), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.39:1).
#40202B color codes
| HEX | #40202B | |
|---|---|---|
| RGB | rgb(64, 32, 43) | |
| RGB percent | rgb(25.1%, 12.5%, 16.9%) | |
| HSL | hsl(339, 33%, 19%) | |
| HSV / HSB | hsv(339, 50%, 25%) | |
| CMYK | cmyk(0%, 50%, 33%, 75%) | |
| CIE LAB | lab(16.98, 17.04, -0.49) | |
| CIE LCH | lch(16.98, 17.04, 358.35) | |
| CIE XYZ | xyz(3.067, 2.298, 2.567) | |
| Decimal | 4202539 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40202B, 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 #40202B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.39:1 | Pass | Pass | Pass |
| #40202B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.39:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #40202B looks to people with the most common types of color vision deficiency.
#24262bProtanopia
no red cones#2d2c2aDeuteranopia
no green cones#451e24Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #40202b; }
.text { color: #40202b; }
.border { border: 2px solid #40202b; }
.transparent { background-color: rgb(64 32 43 / 50%); }
.gradient { background: linear-gradient(to right, #40202b, #402520); }
Similar colors
#44232fCastro#3e1825Black-Hearted#3b1921Bruised Plum#492a34Wine Tasting#3c1421Chocolate Kiss#43182fBlackberry#2c1620Black Cherry#4a2d2fDark Roast
Closest common color name: Dark Purple.
Questions
- What color is #40202B?
- #40202B is a very dark, desaturated rose, closest to the named color Castro. It belongs to the red family of colors.
- What is the RGB value of #40202B?
- The RGB value is 64, 32, 43: 64 red, 32 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #40202B?
- The complementary color is #204035, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40202B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.39:1. WCAG asks for at least 4.5:1 for normal text.