#402737 color
The hex color #402737 is a dark, grayish rose.
In the RGB color model it is made of 25.1% red, 15.3% green and 21.6% blue (64, 39, 55).
Its hue angle is 322°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 14% yellow and 75% black.
The closest named color is Castro (#44232F), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.43:1).
#402737 color codes
| HEX | #402737 | |
|---|---|---|
| RGB | rgb(64, 39, 55) | |
| RGB percent | rgb(25.1%, 15.3%, 21.6%) | |
| HSL | hsl(322, 24%, 20%) | |
| HSV / HSB | hsv(322, 39%, 25%) | |
| CMYK | cmyk(0%, 39%, 14%, 75%) | |
| CIE LAB | lab(19.3, 14.67, -5.47) | |
| CIE LCH | lch(19.3, 15.66, 339.55) | |
| CIE XYZ | xyz(3.529, 2.817, 3.972) | |
| Decimal | 4204343 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #402737, 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 #402737 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.43:1 | Pass | Pass | Pass |
| #402737 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.43:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #402737 looks to people with the most common types of color vision deficiency.
#282c38Protanopia
no red cones#2e3036Deuteranopia
no green cones#43272dTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #402737; }
.text { color: #402737; }
.border { border: 2px solid #402737; }
.transparent { background-color: rgb(64 39 55 / 50%); }
.gradient { background: linear-gradient(to right, #402737, #40272b); }
Similar colors
#44232fCastro#492a34Wine Tasting#443240Voodoo#4e334eShadow Purple#43182fBlackberry#2c1620Black Cherry#3e1825Black-Hearted#301934Dark Purple
Questions
- What color is #402737?
- #402737 is a dark, grayish rose, closest to the named color Castro. It belongs to the purple family of colors.
- What is the RGB value of #402737?
- The RGB value is 64, 39, 55: 64 red, 39 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #402737?
- The complementary color is #274030, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #402737?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.43:1. WCAG asks for at least 4.5:1 for normal text.