#512720 color
The hex color #512720 is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 15.3% green and 12.5% blue (81, 39, 32).
Its hue angle is 9°, with 43% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 52% magenta, 60% yellow and 68% black.
The closest named color is Torrefacto Roast (#4E241E), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.64:1).
#512720 color codes
| HEX | #512720 | |
|---|---|---|
| RGB | rgb(81, 39, 32) | |
| RGB percent | rgb(31.8%, 15.3%, 12.5%) | |
| HSL | hsl(9, 43%, 22%) | |
| HSV / HSB | hsv(9, 60%, 32%) | |
| CMYK | cmyk(0%, 52%, 60%, 68%) | |
| CIE LAB | lab(21.23, 18.8, 13.49) | |
| CIE LCH | lch(21.23, 23.14, 35.66) | |
| CIE XYZ | xyz(4.38, 3.305, 1.774) | |
| Decimal | 5318432 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512720, 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 #512720 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.64:1 | Pass | Pass | Pass |
| #512720 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.64:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #512720 looks to people with the most common types of color vision deficiency.
#312e1fProtanopia
no red cones#3b361fDeuteranopia
no green cones#592025Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #512720; }
.text { color: #512720; }
.border { border: 2px solid #512720; }
.transparent { background-color: rgb(81 39 32 / 50%); }
.gradient { background: linear-gradient(to right, #512720, #513f20); }
Similar colors
#4e241eTorrefacto Roast#4f2923Bitter Chocolate#572b26Worcestershire Sauce#4e2a20Couch#522426Lonestar#4a2c2aBrown Coffee#603231Rampant Rhubarb#4e312dEspresso
Questions
- What color is #512720?
- #512720 is a dark, desaturated red, closest to the named color Torrefacto Roast. It belongs to the brown family of colors.
- What is the RGB value of #512720?
- The RGB value is 81, 39, 32: 81 red, 39 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #512720?
- The complementary color is #204A51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512720?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.64:1. WCAG asks for at least 4.5:1 for normal text.