#B17EA2 color
The hex color #B17EA2 is a grayish magenta.
In the RGB color model it is made of 69.4% red, 49.4% green and 63.5% blue (177, 126, 162).
Its hue angle is 318°, with 25% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 29% magenta, 8% yellow and 31% black.
The closest named color is Romanov Mauve (#B97DA8), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.38:1).
#B17EA2 color codes
| HEX | #B17EA2 | |
|---|---|---|
| RGB | rgb(177, 126, 162) | |
| RGB percent | rgb(69.4%, 49.4%, 63.5%) | |
| HSL | hsl(318, 25%, 59%) | |
| HSV / HSB | hsv(318, 29%, 69%) | |
| CMYK | cmyk(0%, 29%, 8%, 31%) | |
| CIE LAB | lab(58.86, 25.57, -11.33) | |
| CIE LCH | lch(58.86, 27.97, 336.09) | |
| CIE XYZ | xyz(32.114, 26.879, 37.672) | |
| Decimal | 11632290 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B17EA2, 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 #B17EA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.38:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #B17EA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.38: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 #B17EA2 looks to people with the most common types of color vision deficiency.
#7f89a3Protanopia
no red cones#8b90a0Deuteranopia
no green cones#b77f8aTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #b17ea2; }
.text { color: #b17ea2; }
.border { border: 2px solid #b17ea2; }
.transparent { background-color: rgb(177 126 162 / 50%); }
.gradient { background: linear-gradient(to right, #b17ea2, #b17e89); }
Similar colors
#b97da8Romanov Mauve#a37298Drama Queen#af8ba8Voila!#a97fb1Heart Potion#ca83a7Moonlight Mauve#bf91b2Mauve Magic#ab7cb4Berries Galore#b36b92Je t’aime
Closest common color name: Lavender Purple.
Questions
- What color is #B17EA2?
- #B17EA2 is a grayish magenta, closest to the named color Romanov Mauve. It belongs to the pink family of colors.
- What is the RGB value of #B17EA2?
- The RGB value is 177, 126, 162: 177 red, 126 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #B17EA2?
- The complementary color is #7EB18D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B17EA2?
- Black text. Black text has a contrast ratio of 6.38:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.