#9A817E color
The hex color #9A817E is a grayish red.
In the RGB color model it is made of 60.4% red, 50.6% green and 49.4% blue (154, 129, 126).
Its hue angle is 6°, with 12% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 18% yellow and 40% black.
The closest named color is Opium (#987E7E), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.82:1).
#9A817E color codes
| HEX | #9A817E | |
|---|---|---|
| RGB | rgb(154, 129, 126) | |
| RGB percent | rgb(60.4%, 50.6%, 49.4%) | |
| HSL | hsl(6, 12%, 55%) | |
| HSV / HSB | hsv(6, 18%, 60%) | |
| CMYK | cmyk(0%, 16%, 18%, 40%) | |
| CIE LAB | lab(56.17, 9.06, 5.19) | |
| CIE LCH | lch(56.17, 10.44, 29.84) | |
| CIE XYZ | xyz(24.943, 24.078, 23.068) | |
| Decimal | 10125694 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A817E, 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 #9A817E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.82:1 | Pass | Fail | Pass |
| Sample text | 3.61:1 | Fail | Fail | Pass |
| #9A817E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.82:1 | Pass | Fail | Pass |
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 #9A817E looks to people with the most common types of color vision deficiency.
#86847eProtanopia
no red cones#8b887eDeuteranopia
no green cones#a07e80Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #9a817e; }
.text { color: #9a817e; }
.border { border: 2px solid #9a817e; }
.transparent { background-color: rgb(154 129 126 / 50%); }
.gradient { background: linear-gradient(to right, #9a817e, #9a8f7e); }
Similar colors
#987e7eOpium#987d73Hemp#a48a80Earthbound#8f7f85Mighty Mauve#9b8b84Ruins of Metal#9e7b6cWoodhaven#8b7e77Hurricane#a99592Cortex
Closest common color name: Mocha.
Questions
- What color is #9A817E?
- #9A817E is a grayish red, closest to the named color Opium. It belongs to the gray family of colors.
- What is the RGB value of #9A817E?
- The RGB value is 154, 129, 126: 154 red, 129 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #9A817E?
- The complementary color is #7E979A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A817E?
- Black text. Black text has a contrast ratio of 5.82:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.