#51514F color
The hex color #51514F is a gray.
In the RGB color model it is made of 31.8% red, 31.8% green and 31% blue (81, 81, 79).
Its hue angle is 60°, with 1% saturation and 31% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 2% yellow and 68% black.
The closest named color is Subterrain Kingdom (#4F4E4A), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.96:1).
#51514F color codes
| HEX | #51514F | |
|---|---|---|
| RGB | rgb(81, 81, 79) | |
| RGB percent | rgb(31.8%, 31.8%, 31%) | |
| HSL | hsl(60, 1%, 31%) | |
| HSV / HSB | hsv(60, 2%, 32%) | |
| CMYK | cmyk(0%, 0%, 2%, 68%) | |
| CIE LAB | lab(34.39, -0.43, 1.17) | |
| CIE LCH | lch(34.39, 1.25, 109.96) | |
| CIE XYZ | xyz(7.747, 8.199, 8.57) | |
| Decimal | 5329231 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51514F, 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 #51514F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.96:1 | Pass | Pass | Pass |
| #51514F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.96:1 | Pass | Pass | Pass |
| Sample text | 2.64: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 #51514F looks to people with the most common types of color vision deficiency.
#51514fProtanopia
no red cones#51514fDeuteranopia
no green cones#515150Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #51514f; }
.text { color: #51514f; }
.border { border: 2px solid #51514f; }
.transparent { background-color: rgb(81 81 79 / 50%); }
.gradient { background: linear-gradient(to right, #51514f, #50514f); }
Similar colors
#4f4e4aSubterrain Kingdom#555555Stone Cold#565350Heavy Charcoal#4c4b4cShady Character#484a46Armadillo#494e4fCover of Night#57534bMasala#4a4747Dampened Black
Closest common color name: Ebony.
Questions
- What color is #51514F?
- #51514F is a gray, closest to the named color Subterrain Kingdom. It belongs to the gray family of colors.
- What is the RGB value of #51514F?
- The RGB value is 81, 81, 79: 81 red, 81 green and 79 blue on a 0 to 255 scale.
- What is the complementary color of #51514F?
- The complementary color is #4F4F51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51514F?
- White text. Black text has a contrast ratio of 2.64:1 and white text 7.96:1. WCAG asks for at least 4.5:1 for normal text.