#512638 color
The hex color #512638 is a dark, desaturated rose.
In the RGB color model it is made of 31.8% red, 14.9% green and 22% blue (81, 38, 56).
Its hue angle is 335°, with 36% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 53% magenta, 31% yellow and 68% black.
The closest named color is Castro (#44232F), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.47:1).
#512638 color codes
| HEX | #512638 | |
|---|---|---|
| RGB | rgb(81, 38, 56) | |
| RGB percent | rgb(31.8%, 14.9%, 22%) | |
| HSL | hsl(335, 36%, 23%) | |
| HSV / HSB | hsv(335, 53%, 32%) | |
| CMYK | cmyk(0%, 53%, 31%, 68%) | |
| CIE LAB | lab(21.66, 22.5, -2.37) | |
| CIE LCH | lch(21.66, 22.62, 353.99) | |
| CIE XYZ | xyz(4.8, 3.421, 4.148) | |
| Decimal | 5318200 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #512638, 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 #512638 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.68:1 | Fail | Fail | Fail |
| Sample text | 12.47:1 | Pass | Pass | Pass |
| #512638 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.47:1 | Pass | Pass | Pass |
| Sample text | 1.68: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 #512638 looks to people with the most common types of color vision deficiency.
#2c2f39Protanopia
no red cones#373737Deuteranopia
no green cones#57242dTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #512638; }
.text { color: #512638; }
.border { border: 2px solid #512638; }
.transparent { background-color: rgb(81 38 56 / 50%); }
.gradient { background: linear-gradient(to right, #512638, #512a26); }
Similar colors
#44232fCastro#492a34Wine Tasting#571e2fDrops of God#43182fBlackberry#5c1c39Soul Anchor#3e1825Black-Hearted#441122What We Do in the Shadows#69293bSiren
Closest common color name: Eggplant.
Questions
- What color is #512638?
- #512638 is a dark, desaturated rose, closest to the named color Castro. It belongs to the red family of colors.
- What is the RGB value of #512638?
- The RGB value is 81, 38, 56: 81 red, 38 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #512638?
- The complementary color is #26513F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #512638?
- White text. Black text has a contrast ratio of 1.68:1 and white text 12.47:1. WCAG asks for at least 4.5:1 for normal text.