#512A25 color
The hex color #512A25 is a dark, desaturated red.
In the RGB color model it is made of 31.8% red, 16.5% green and 14.5% blue (81, 42, 37).
Its hue angle is 7°, with 37% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 48% magenta, 54% yellow and 68% black.
The closest named color is Bitter Chocolate (#4F2923), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.3:1).
#512A25 color codes
| HEX | #512A25 | |
|---|---|---|
| RGB | rgb(81, 42, 37) | |
| RGB percent | rgb(31.8%, 16.5%, 14.5%) | |
| HSL | hsl(7, 37%, 23%) | |
| HSV / HSB | hsv(7, 54%, 32%) | |
| CMYK | cmyk(0%, 48%, 54%, 68%) | |
| CIE LAB | lab(22.09, 17.46, 11.25) | |
| CIE LCH | lch(22.09, 20.77, 32.79) | |
| CIE XYZ | xyz(4.556, 3.539, 2.193) | |
| Decimal | 5319205 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512A25, 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 #512A25 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.3:1 | Pass | Pass | Pass |
| #512A25 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.3:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #512A25 looks to people with the most common types of color vision deficiency.
#333024Protanopia
no red cones#3d3824Deuteranopia
no green cones#582429Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #512a25; }
.text { color: #512a25; }
.border { border: 2px solid #512a25; }
.transparent { background-color: rgb(81 42 37 / 50%); }
.gradient { background: linear-gradient(to right, #512a25, #514025); }
Similar colors
#4f2923Bitter Chocolate#572b26Worcestershire Sauce#4e241eTorrefacto Roast#4e2a20Couch#4a2c2aBrown Coffee#522426Lonestar#4e312dEspresso#603231Rampant Rhubarb
Questions
- What color is #512A25?
- #512A25 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 #512A25?
- The RGB value is 81, 42, 37: 81 red, 42 green and 37 blue on a 0 to 255 scale.
- What is the complementary color of #512A25?
- The complementary color is #254C51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512A25?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.3:1. WCAG asks for at least 4.5:1 for normal text.