#40002A color
The hex color #40002A is a very dark, vivid rose.
In the RGB color model it is made of 25.1% red, 0% green and 16.5% blue (64, 0, 42).
Its hue angle is 321°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 34% yellow and 75% black.
The closest named color is Dark Sanctuary (#3F012C), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.78:1).
#40002A color codes
| HEX | #40002A | |
|---|---|---|
| RGB | rgb(64, 0, 42) | |
| RGB percent | rgb(25.1%, 0%, 16.5%) | |
| HSL | hsl(321, 100%, 13%) | |
| HSV / HSB | hsv(321, 100%, 25%) | |
| CMYK | cmyk(0%, 100%, 34%, 75%) | |
| CIE LAB | lab(10.97, 33.07, -8.77) | |
| CIE LCH | lch(10.97, 34.21, 345.14) | |
| CIE XYZ | xyz(2.532, 1.257, 2.299) | |
| Decimal | 4194346 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #40002A, 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 #40002A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.78:1 | Pass | Pass | Pass |
| #40002A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.78:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #40002A looks to people with the most common types of color vision deficiency.
#0a162bProtanopia
no red cones#1f2129Deuteranopia
no green cones#450015Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #40002a; }
.text { color: #40002a; }
.border { border: 2px solid #40002a; }
.transparent { background-color: rgb(64 0 42 / 50%); }
.gradient { background: linear-gradient(to right, #40002a, #40000a); }
Similar colors
#3f012cDark Sanctuary#4c022fEvil Empire#330022Vienna Roast#43182fBlackberry#391531Nightly Voyager#441144Velvet Cosmos#441122What We Do in the Shadows#5c1c39Soul Anchor
Closest common color name: Tyrian Purple.
Questions
- What color is #40002A?
- #40002A is a very dark, vivid rose, closest to the named color Dark Sanctuary. It belongs to the black family of colors.
- What is the RGB value of #40002A?
- The RGB value is 64, 0, 42: 64 red, 0 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #40002A?
- The complementary color is #004016, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #40002A?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.78:1. WCAG asks for at least 4.5:1 for normal text.