#7F818C color

#7F818C rgb(127, 129, 140)
Shades of gray

The hex color #7F818C is a gray.

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

Its hue angle is 231°, with 5% saturation and 52% lightness. For print, the CMYK equivalent is 9% cyan, 8% magenta, 0% yellow and 45% black.

The closest named color is In the Twilight (#84838E), a difference of 1.8 ΔE, which is barely visible.

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

#7F818C color codes

HEX#7F818C
RGBrgb(127, 129, 140)
RGB percentrgb(49.8%, 50.6%, 54.9%)
HSLhsl(231, 5%, 52%)
HSV / HSBhsv(231, 9%, 55%)
CMYKcmyk(9%, 8%, 0%, 45%)
CIE LABlab(54.14, 1.55, -6.18)
CIE LCHlch(54.14, 6.37, 284.07)
CIE XYZxyz(21.335, 22.106, 27.949)
Decimal8356236
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F818C, 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 #7F818CRatioAAAAAAA large
Sample text5.42:1PassFailPass
Sample text3.87:1FailFailPass
#7F818C as text onRatioAAAAAAA large
Sample text3.87:1FailFailPass
Sample text5.42: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 #7F818C looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Gray.

Questions

What color is #7F818C?
#7F818C is a gray, closest to the named color In the Twilight. It belongs to the gray family of colors.
What is the RGB value of #7F818C?
The RGB value is 127, 129, 140: 127 red, 129 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #7F818C?
The complementary color is #8C8A7F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F818C?
Black text. Black text has a contrast ratio of 5.42:1 and white text 3.87:1. WCAG asks for at least 4.5:1 for normal text.