#51494D color
The hex color #51494D is a gray.
In the RGB color model it is made of 31.8% red, 28.6% green and 30.2% blue (81, 73, 77).
Its hue angle is 330°, with 5% saturation and 30% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 5% yellow and 68% black.
The closest named color is Matterhorn (#524B4B), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.71:1).
#51494D color codes
| HEX | #51494D | |
|---|---|---|
| RGB | rgb(81, 73, 77) | |
| RGB percent | rgb(31.8%, 28.6%, 30.2%) | |
| HSL | hsl(330, 5%, 30%) | |
| HSV / HSB | hsv(330, 10%, 32%) | |
| CMYK | cmyk(0%, 10%, 5%, 68%) | |
| CIE LAB | lab(31.92, 4.17, -1.16) | |
| CIE LCH | lch(31.92, 4.33, 344.4) | |
| CIE XYZ | xyz(7.115, 7.05, 8.006) | |
| Decimal | 5327181 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51494D, 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 #51494D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.41:1 | Fail | Fail | Fail |
| Sample text | 8.71:1 | Pass | Pass | Pass |
| #51494D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.71:1 | Pass | Pass | Pass |
| Sample text | 2.41: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 #51494D looks to people with the most common types of color vision deficiency.
#494a4dProtanopia
no red cones#4b4c4dDeuteranopia
no green cones#52494aTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #51494d; }
.text { color: #51494d; }
.border { border: 2px solid #51494d; }
.transparent { background-color: rgb(81 73 77 / 50%); }
.gradient { background: linear-gradient(to right, #51494d, #514949); }
Similar colors
#524b4bMatterhorn#534c4bOff the Beaten Path#554747Chinotto#525054Magnet#4a4747Dampened Black#4f4744Espresso Macchiato#463d3eBlack Truffle#574a47Molasses
Closest common color name: Graphite.
Questions
- What color is #51494D?
- #51494D is a gray, closest to the named color Matterhorn. It belongs to the gray family of colors.
- What is the RGB value of #51494D?
- The RGB value is 81, 73, 77: 81 red, 73 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #51494D?
- The complementary color is #49514D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51494D?
- White text. Black text has a contrast ratio of 2.41:1 and white text 8.71:1. WCAG asks for at least 4.5:1 for normal text.