#81817D color

#81817D rgb(129, 129, 125)
Shades of gray

The hex color #81817D is a gray.

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

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

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

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

#81817D color codes

HEX#81817D
RGBrgb(129, 129, 125)
RGB percentrgb(50.6%, 50.6%, 49%)
HSLhsl(60, 2%, 50%)
HSV / HSBhsv(60, 3%, 51%)
CMYKcmyk(0%, 0%, 3%, 49%)
CIE LABlab(53.87, -0.78, 2.16)
CIE LCHlch(53.87, 2.3, 109.89)
CIE XYZxyz(20.605, 21.848, 22.53)
Decimal8487293
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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