HEX Color Conversion

Hex Color Code #7F8E80 — RGB & HSL Conversions

How to use the #7F8E80 color code in HTML & CSS?

To apply the hex color #7F8E80 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #7F8E80; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #7F8E80; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#7F8E80].

What are the RGB and HSL conversion values for #7F8E80?

In the digital sRGB color space, the hex value #7F8E80 is converted to RGB values of Red: 127, Green: 142, and Blue: 128. When analyzed under the HSL model, its coordinates correspond to hue angle 124°, 6% saturation, and 53% lightness. This makes it visually a balanced medium tone with a highly muted, near-gray tone.

CMYK print code settings for #7F8E80

When converting #7F8E80 for CMYK printing, the color separation consists of 11% Cyan, 0% Magenta, 10% Yellow, and 44% key/black. Green-heavy spectrums are associated with organic elements and growth, making them highly effective for eco-conscious portals and wellness brands.

Red Channel 127
Green Channel 142
Blue Channel 128
Luminance 0.254

HEX #7F8E80 Color Space Conversions

Click to copy format
HEX Color Code #7F8E80
RGB (Red Green Blue) rgb(127, 142, 128)
HSL (Hue Sat Light) hsl(124°, 6%, 53%)
CMYK (Commercial Print) cmyk(11%, 0%, 10%, 44%)
HSV / HSB Values hsv(124°, 11%, 56%)
Decimal Color Code 8359552
CSS Custom Variable --color-hex: #7F8E80;
Tailwind CSS Utility bg-[#7F8E80]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #7F8E80

Small body copy preview

Black Text on Background

Black text readability test with #7F8E80

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #7F8E80 */
--color-hex: #7F8E80;
--color-rgb: rgb(127, 142, 128);
--color-hsl: hsl(124deg, 6%, 53%);

Adjacent HEX Color Codes

Copied!