#400A23 color
The hex color #400A23 is a very dark, moderate rose.
In the RGB color model it is made of 25.1% red, 3.9% green and 13.7% blue (64, 10, 35).
Its hue angle is 332°, with 73% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 84% magenta, 45% yellow and 75% black.
The closest named color is What We Do in the Shadows (#441122), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.33:1).
#400A23 color codes
| HEX | #400A23 | |
|---|---|---|
| RGB | rgb(64, 10, 35) | |
| RGB percent | rgb(25.1%, 3.9%, 13.7%) | |
| HSL | hsl(332, 73%, 15%) | |
| HSV / HSB | hsv(332, 84%, 25%) | |
| CMYK | cmyk(0%, 84%, 45%, 75%) | |
| CIE LAB | lab(12.15, 27.89, -1.77) | |
| CIE LCH | lch(12.15, 27.95, 356.36) | |
| CIE XYZ | xyz(2.526, 1.429, 1.733) | |
| Decimal | 4196899 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #400A23, 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 #400A23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.33:1 | Pass | Pass | Pass |
| #400A23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.33:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #400A23 looks to people with the most common types of color vision deficiency.
#151924Protanopia
no red cones#242322Deuteranopia
no green cones#460415Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #400a23; }
.text { color: #400a23; }
.border { border: 2px solid #400a23; }
.transparent { background-color: rgb(64 10 35 / 50%); }
.gradient { background: linear-gradient(to right, #400a23, #400c0a); }
Similar colors
#441122What We Do in the Shadows#43182fBlackberry#3c1421Chocolate Kiss#3e1825Black-Hearted#4c022fEvil Empire#330022Vienna Roast#3f012cDark Sanctuary#3b1921Bruised Plum
Closest common color name: Tyrian Purple.
Questions
- What color is #400A23?
- #400A23 is a very dark, moderate rose, closest to the named color What We Do in the Shadows. It belongs to the red family of colors.
- What is the RGB value of #400A23?
- The RGB value is 64, 10, 35: 64 red, 10 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #400A23?
- The complementary color is #0A4027, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #400A23?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.33:1. WCAG asks for at least 4.5:1 for normal text.