#512031 color
The hex color #512031 is a dark, desaturated rose.
In the RGB color model it is made of 31.8% red, 12.5% green and 19.2% blue (81, 32, 49).
Its hue angle is 339°, with 43% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 60% magenta, 40% yellow and 68% black.
The closest named color is Drops of God (#571E2F), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.12:1).
#512031 color codes
| HEX | #512031 | |
|---|---|---|
| RGB | rgb(81, 32, 49) | |
| RGB percent | rgb(31.8%, 12.5%, 19.2%) | |
| HSL | hsl(339, 43%, 22%) | |
| HSV / HSB | hsv(339, 60%, 32%) | |
| CMYK | cmyk(0%, 60%, 40%, 68%) | |
| CIE LAB | lab(20.06, 24.96, 0.14) | |
| CIE LCH | lch(20.06, 24.96, 0.31) | |
| CIE XYZ | xyz(4.464, 3.005, 3.25) | |
| Decimal | 5316657 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512031, 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 #512031 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.12:1 | Pass | Pass | Pass |
| #512031 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.12:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #512031 looks to people with the most common types of color vision deficiency.
#282b31Protanopia
no red cones#353430Deuteranopia
no green cones#581c26Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #512031; }
.text { color: #512031; }
.border { border: 2px solid #512031; }
.transparent { background-color: rgb(81 32 49 / 50%); }
.gradient { background: linear-gradient(to right, #512031, #512820); }
Similar colors
#571e2fDrops of God#5c1c39Soul Anchor#441122What We Do in the Shadows#44232fCastro#43182fBlackberry#3e1825Black-Hearted#3c1421Chocolate Kiss#492a34Wine Tasting
Closest common color name: Tyrian Purple.
Questions
- What color is #512031?
- #512031 is a dark, desaturated rose, closest to the named color Drops of God. It belongs to the red family of colors.
- What is the RGB value of #512031?
- The RGB value is 81, 32, 49: 81 red, 32 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #512031?
- The complementary color is #205140, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512031?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.12:1. WCAG asks for at least 4.5:1 for normal text.