#81817C color

#81817C rgb(129, 129, 124)
Shades of gray

The hex color #81817C is a gray.

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

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

The closest named color is Moon Base (#7D7D77), a difference of 1.7 ΔE, which is barely visible.

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

#81817C color codes

HEX#81817C
RGBrgb(129, 129, 124)
RGB percentrgb(50.6%, 50.6%, 48.6%)
HSLhsl(60, 2%, 50%)
HSV / HSBhsv(60, 4%, 51%)
CMYKcmyk(0%, 0%, 4%, 49%)
CIE LABlab(53.84, -0.98, 2.71)
CIE LCHlch(53.84, 2.88, 109.82)
CIE XYZxyz(20.541, 21.823, 22.195)
Decimal8487292
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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