#512D2D color
The hex color #512D2D is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 17.6% green and 17.6% blue (81, 45, 45).
Its hue angle is 0°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 44% magenta, 44% yellow and 68% black.
The closest named color is Brown Coffee (#4A2C2A), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.91:1).
#512D2D color codes
| HEX | #512D2D | |
|---|---|---|
| RGB | rgb(81, 45, 45) | |
| RGB percent | rgb(31.8%, 17.6%, 17.6%) | |
| HSL | hsl(0, 29%, 25%) | |
| HSV / HSB | hsv(0, 44%, 32%) | |
| CMYK | cmyk(0%, 44%, 44%, 68%) | |
| CIE LAB | lab(23.05, 16.55, 7.16) | |
| CIE LCH | lch(23.05, 18.04, 23.39) | |
| CIE XYZ | xyz(4.806, 3.816, 2.966) | |
| Decimal | 5319981 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512D2D, 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 #512D2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.91:1 | Pass | Pass | Pass |
| #512D2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.91:1 | Pass | Pass | Pass |
| Sample text | 1.76: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 #512D2D looks to people with the most common types of color vision deficiency.
#34332dProtanopia
no red cones#3d3a2cDeuteranopia
no green cones#58292dTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #512d2d; }
.text { color: #512d2d; }
.border { border: 2px solid #512d2d; }
.transparent { background-color: rgb(81 45 45 / 50%); }
.gradient { background: linear-gradient(to right, #512d2d, #513f2d); }
Similar colors
#4a2c2aBrown Coffee#4a2d2fDark Roast#4e312dEspresso#4f2923Bitter Chocolate#522426Lonestar#572b26Worcestershire Sauce#603231Rampant Rhubarb#5f2c2fJazz
Questions
- What color is #512D2D?
- #512D2D is a dark, desaturated red, closest to the named color Brown Coffee. It belongs to the red family of colors.
- What is the RGB value of #512D2D?
- The RGB value is 81, 45, 45: 81 red, 45 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #512D2D?
- The complementary color is #2D5151, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512D2D?
- White text. Black text has a contrast ratio of 1.76:1 and white text 11.91:1. WCAG asks for at least 4.5:1 for normal text.