#8A7172 color

#8A7172 rgb(138, 113, 114)
Shades of gray

The hex color #8A7172 is a grayish red.

In the RGB color model it is made of 54.1% red, 44.3% green and 44.7% blue (138, 113, 114).

Its hue angle is 358°, with 10% saturation and 49% lightness. For print, the CMYK equivalent is 0% cyan, 18% magenta, 17% yellow and 46% black.

The closest named color is Opium (#987E7E), a difference of 5.1 ΔE.

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

#8A7172 color codes

HEX#8A7172
RGBrgb(138, 113, 114)
RGB percentrgb(54.1%, 44.3%, 44.7%)
HSLhsl(358, 10%, 49%)
HSV / HSBhsv(358, 18%, 54%)
CMYKcmyk(0%, 18%, 17%, 46%)
CIE LABlab(50.01, 9.97, 3.14)
CIE LCHlch(50.01, 10.46, 17.48)
CIE XYZxyz(19.424, 18.429, 18.45)
Decimal9073010
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A7172, 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 #8A7172RatioAAAAAAA large
Sample text4.69:1PassFailPass
Sample text4.48:1FailFailPass
#8A7172 as text onRatioAAAAAAA large
Sample text4.48:1FailFailPass
Sample text4.69: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 #8A7172 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a7172; }
.text { color: #8a7172; }
.border { border: 2px solid #8a7172; }
.transparent { background-color: rgb(138 113 114 / 50%); }
.gradient { background: linear-gradient(to right, #8a7172, #8a7c71); }
Background
Text color
Border

Similar colors

Closest common color name: Mocha.

Questions

What color is #8A7172?
#8A7172 is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
What is the RGB value of #8A7172?
The RGB value is 138, 113, 114: 138 red, 113 green and 114 blue on a 0 to 255 scale.
What is the complementary color of #8A7172?
The complementary color is #718A89, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A7172?
Black text. Black text has a contrast ratio of 4.69:1 and white text 4.48:1. WCAG asks for at least 4.5:1 for normal text.