#512F2D color
The hex color #512F2D is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 18.4% green and 17.6% blue (81, 47, 45).
Its hue angle is 3°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 44% yellow and 68% black.
The closest named color is Brown Coffee (#4A2C2A), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.7:1).
#512F2D color codes
| HEX | #512F2D | |
|---|---|---|
| RGB | rgb(81, 47, 45) | |
| RGB percent | rgb(31.8%, 18.4%, 17.6%) | |
| HSL | hsl(3, 29%, 25%) | |
| HSV / HSB | hsv(3, 44%, 32%) | |
| CMYK | cmyk(0%, 42%, 44%, 68%) | |
| CIE LAB | lab(23.58, 15.28, 7.89) | |
| CIE LCH | lch(23.58, 17.2, 27.31) | |
| CIE XYZ | xyz(4.884, 3.972, 2.992) | |
| Decimal | 5320493 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512F2D, 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 #512F2D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.7:1 | Pass | Pass | Pass |
| #512F2D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.7:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #512F2D looks to people with the most common types of color vision deficiency.
#36342dProtanopia
no red cones#3e3b2cDeuteranopia
no green cones#572b2fTritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #512f2d; }
.text { color: #512f2d; }
.border { border: 2px solid #512f2d; }
.transparent { background-color: rgb(81 47 45 / 50%); }
.gradient { background: linear-gradient(to right, #512f2d, #51412d); }
Similar colors
#4a2c2aBrown Coffee#4e312dEspresso#4a2d2fDark Roast#4f2923Bitter Chocolate#572b26Worcestershire Sauce#603231Rampant Rhubarb#4e2a20Couch#522426Lonestar
Questions
- What color is #512F2D?
- #512F2D 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 #512F2D?
- The RGB value is 81, 47, 45: 81 red, 47 green and 45 blue on a 0 to 255 scale.
- What is the complementary color of #512F2D?
- The complementary color is #2D4F51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512F2D?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.