#7F5A6A color
The hex color #7F5A6A is a grayish rose.
In the RGB color model it is made of 49.8% red, 35.3% green and 41.6% blue (127, 90, 106).
Its hue angle is 334°, with 17% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 29% magenta, 17% yellow and 50% black.
The closest named color is Royal Fig (#7B5867), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.88:1).
#7F5A6A color codes
| HEX | #7F5A6A | |
|---|---|---|
| RGB | rgb(127, 90, 106) | |
| RGB percent | rgb(49.8%, 35.3%, 41.6%) | |
| HSL | hsl(334, 17%, 43%) | |
| HSV / HSB | hsv(334, 29%, 50%) | |
| CMYK | cmyk(0%, 29%, 17%, 50%) | |
| CIE LAB | lab(42.56, 17.85, -3.07) | |
| CIE LCH | lch(42.56, 18.11, 350.24) | |
| CIE XYZ | xyz(15.01, 12.866, 15.326) | |
| Decimal | 8346218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5A6A, 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 #7F5A6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.57:1 | Fail | Fail | Pass |
| Sample text | 5.88:1 | Pass | Fail | Pass |
| #7F5A6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.88:1 | Pass | Fail | Pass |
| Sample text | 3.57:1 | Fail | 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 #7F5A6A looks to people with the most common types of color vision deficiency.
#5d616bProtanopia
no red cones#666769Deuteranopia
no green cones#85595fTritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #7f5a6a; }
.text { color: #7f5a6a; }
.border { border: 2px solid #7f5a6a; }
.transparent { background-color: rgb(127 90 106 / 50%); }
.gradient { background: linear-gradient(to right, #7f5a6a, #7f5d5a); }
Similar colors
#7b5867Royal Fig#816575Opera#8a5773Indian Silk#6f5166Hibernation#8e5164Velour Scar#7a4b56Nocturne Red#885577Plum Highness#7d5d5eReading Tea Leaves
Closest common color name: Eggplant.
Questions
- What color is #7F5A6A?
- #7F5A6A is a grayish rose, closest to the named color Royal Fig. It belongs to the pink family of colors.
- What is the RGB value of #7F5A6A?
- The RGB value is 127, 90, 106: 127 red, 90 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #7F5A6A?
- The complementary color is #5A7F6F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5A6A?
- White text. Black text has a contrast ratio of 3.57:1 and white text 5.88:1. WCAG asks for at least 4.5:1 for normal text.