#7F817D color

#7F817D rgb(127, 129, 125)
Shades of gray

The hex color #7F817D is a gray.

In the RGB color model it is made of 49.8% red, 50.6% green and 49% blue (127, 129, 125).

Its hue angle is 90°, with 2% saturation and 50% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 3% yellow and 49% black.

The closest named color is Happy Hippo (#818581), a difference of 1.7 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 5.34:1).

#7F817D color codes

HEX#7F817D
RGBrgb(127, 129, 125)
RGB percentrgb(49.8%, 50.6%, 49%)
HSLhsl(90, 2%, 50%)
HSV / HSBhsv(90, 3%, 51%)
CMYKcmyk(2%, 0%, 3%, 49%)
CIE LABlab(53.7, -1.54, 1.9)
CIE LCHlch(53.7, 2.45, 128.94)
CIE XYZxyz(20.304, 21.693, 22.516)
Decimal8356221
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F817D, 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 #7F817DRatioAAAAAAA large
Sample text5.34:1PassFailPass
Sample text3.93:1FailFailPass
#7F817D as text onRatioAAAAAAA large
Sample text3.93:1FailFailPass
Sample text5.34:1PassFailPass

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 #7F817D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7f817d; }
.text { color: #7f817d; }
.border { border: 2px solid #7f817d; }
.transparent { background-color: rgb(127 129 125 / 50%); }
.gradient { background: linear-gradient(to right, #7f817d, #7d817d); }
Background
Text color
Border

Similar colors

Questions

What color is #7F817D?
#7F817D is a gray, closest to the named color Happy Hippo. It belongs to the gray family of colors.
What is the RGB value of #7F817D?
The RGB value is 127, 129, 125: 127 red, 129 green and 125 blue on a 0 to 255 scale.
What is the complementary color of #7F817D?
The complementary color is #7F7D81, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F817D?
Black text. Black text has a contrast ratio of 5.34:1 and white text 3.93:1. WCAG asks for at least 4.5:1 for normal text.