#81817F color

#81817F rgb(129, 129, 127)
Shades of gray

The hex color #81817F is a gray.

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

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

The closest named color is Battleship Gray (#848482), a difference of 1.1 ΔE, which is barely visible.

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

#81817F color codes

HEX#81817F
RGBrgb(129, 129, 127)
RGB percentrgb(50.6%, 50.6%, 49.8%)
HSLhsl(60, 1%, 50%)
HSV / HSBhsv(60, 2%, 51%)
CMYKcmyk(0%, 0%, 2%, 49%)
CIE LABlab(53.92, -0.39, 1.08)
CIE LCHlch(53.92, 1.15, 110.03)
CIE XYZxyz(20.734, 21.9, 23.209)
Decimal8487295
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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