#796C7E color

#796C7E rgb(121, 108, 126)
Shades of gray

The hex color #796C7E is a gray.

In the RGB color model it is made of 47.5% red, 42.4% green and 49.4% blue (121, 108, 126).

Its hue angle is 283°, with 8% saturation and 46% lightness. For print, the CMYK equivalent is 4% cyan, 14% magenta, 0% yellow and 51% black.

The closest named color is Sakura Night (#7B6C7C), a difference of 1.1 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 4.93:1).

#796C7E color codes

HEX#796C7E
RGBrgb(121, 108, 126)
RGB percentrgb(47.5%, 42.4%, 49.4%)
HSLhsl(283, 8%, 46%)
HSV / HSBhsv(283, 14%, 49%)
CMYKcmyk(4%, 14%, 0%, 51%)
CIE LABlab(47.36, 8.68, -8.09)
CIE LCHlch(47.36, 11.86, 317.01)
CIE XYZxyz(17.013, 16.297, 21.984)
Decimal7957630
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #796C7E, 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 #796C7ERatioAAAAAAA large
Sample text4.26:1FailFailPass
Sample text4.93:1PassFailPass
#796C7E as text onRatioAAAAAAA large
Sample text4.93:1PassFailPass
Sample text4.26:1FailFailPass

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

CSS examples

.background { background-color: #796c7e; }
.text { color: #796c7e; }
.border { border: 2px solid #796c7e; }
.transparent { background-color: rgb(121 108 126 / 50%); }
.gradient { background: linear-gradient(to right, #796c7e, #7e6c7a); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #796C7E?
#796C7E is a gray, closest to the named color Sakura Night. It belongs to the gray family of colors.
What is the RGB value of #796C7E?
The RGB value is 121, 108, 126: 121 red, 108 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #796C7E?
The complementary color is #717E6C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #796C7E?
White text. Black text has a contrast ratio of 4.26:1 and white text 4.93:1. WCAG asks for at least 4.5:1 for normal text.