#512C26 color
The hex color #512C26 is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 17.3% green and 14.9% blue (81, 44, 38).
Its hue angle is 8°, with 36% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 46% magenta, 53% yellow and 68% black.
The closest named color is Bitter Chocolate (#4F2923), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.08:1).
#512C26 color codes
| HEX | #512C26 | |
|---|---|---|
| RGB | rgb(81, 44, 38) | |
| RGB percent | rgb(31.8%, 17.3%, 14.9%) | |
| HSL | hsl(8, 36%, 23%) | |
| HSV / HSB | hsv(8, 53%, 32%) | |
| CMYK | cmyk(0%, 46%, 53%, 68%) | |
| CIE LAB | lab(22.62, 16.32, 11.29) | |
| CIE LCH | lch(22.62, 19.84, 34.69) | |
| CIE XYZ | xyz(4.644, 3.691, 2.301) | |
| Decimal | 5319718 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512C26, 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 #512C26 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.08:1 | Pass | Pass | Pass |
| #512C26 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.08:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #512C26 looks to people with the most common types of color vision deficiency.
#353125Protanopia
no red cones#3e3925Deuteranopia
no green cones#58272bTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #512c26; }
.text { color: #512c26; }
.border { border: 2px solid #512c26; }
.transparent { background-color: rgb(81 44 38 / 50%); }
.gradient { background: linear-gradient(to right, #512c26, #514226); }
Similar colors
#4f2923Bitter Chocolate#572b26Worcestershire Sauce#4e2a20Couch#4e241eTorrefacto Roast#4e312dEspresso#4a2c2aBrown Coffee#603231Rampant Rhubarb#522426Lonestar
Questions
- What color is #512C26?
- #512C26 is a dark, desaturated red, closest to the named color Bitter Chocolate. It belongs to the brown family of colors.
- What is the RGB value of #512C26?
- The RGB value is 81, 44, 38: 81 red, 44 green and 38 blue on a 0 to 255 scale.
- What is the complementary color of #512C26?
- The complementary color is #264B51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512C26?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.08:1. WCAG asks for at least 4.5:1 for normal text.