#B1AFB7 color
The hex color #B1AFB7 is a light gray.
In the RGB color model it is made of 69.4% red, 68.6% green and 71.8% blue (177, 175, 183).
Its hue angle is 255°, with 5% saturation and 70% lightness. For print, the CMYK equivalent is 3% cyan, 4% magenta, 0% yellow and 28% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.69:1).
#B1AFB7 color codes
| HEX | #B1AFB7 | |
|---|---|---|
| RGB | rgb(177, 175, 183) | |
| RGB percent | rgb(69.4%, 68.6%, 71.8%) | |
| HSL | hsl(255, 5%, 70%) | |
| HSV / HSB | hsv(255, 4%, 72%) | |
| CMYK | cmyk(3%, 4%, 0%, 28%) | |
| CIE LAB | lab(71.84, 2.23, -3.83) | |
| CIE LCH | lch(71.84, 4.43, 300.18) | |
| CIE XYZ | xyz(42.007, 43.426, 50.96) | |
| Decimal | 11644855 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B1AFB7, 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 #B1AFB7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.69:1 | Pass | Pass | Pass |
| Sample text | 2.17:1 | Fail | Fail | Fail |
| #B1AFB7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.69:1 | Pass | Pass | 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 #B1AFB7 looks to people with the most common types of color vision deficiency.
#aeb0b7Protanopia
no red cones#aeb0b7Deuteranopia
no green cones#b0b0b1Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #b1afb7; }
.text { color: #b1afb7; }
.border { border: 2px solid #b1afb7; }
.transparent { background-color: rgb(177 175 183 / 50%); }
.gradient { background: linear-gradient(to right, #b1afb7, #b5afb7); }
Similar colors
#b3b2bfNebulous December#bdbcc4Silver Fox#bebec4Moonwalk#c0bfc7Ghost#a9a8a9Ultimate Gray#babcc0Microchip#b2b2b2Tangled Web#b5b6b7Wolfram
Closest common color name: Dark Gray.
Questions
- What color is #B1AFB7?
- #B1AFB7 is a light gray, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #B1AFB7?
- The RGB value is 177, 175, 183: 177 red, 175 green and 183 blue on a 0 to 255 scale.
- What is the complementary color of #B1AFB7?
- The complementary color is #B5B7AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B1AFB7?
- Black text. Black text has a contrast ratio of 9.69:1 and white text 2.17:1. WCAG asks for at least 4.5:1 for normal text.