Magnetic color: hex code #B2B5AF
Magnetic has the hex code #B2B5AF. It is a gray.
In the RGB color model it is made of 69.8% red, 71% green and 68.6% blue (178, 181, 175).
Its hue angle is 90°, with 4% saturation and 70% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 3% yellow and 29% black.
Black text is the more readable choice on this background (contrast 10.12:1).
Magnetic (#B2B5AF) color codes
| HEX | #B2B5AF | |
|---|---|---|
| RGB | rgb(178, 181, 175) | |
| RGB percent | rgb(69.8%, 71%, 68.6%) | |
| HSL | hsl(90, 4%, 70%) | |
| HSV / HSB | hsv(90, 3%, 71%) | |
| CMYK | cmyk(2%, 0%, 3%, 29%) | |
| CIE LAB | lab(73.29, -2.17, 2.68) | |
| CIE LCH | lch(73.29, 3.45, 128.93) | |
| CIE XYZ | xyz(42.621, 45.608, 47.107) | |
| Decimal | 11711919 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Magnetic, 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 #B2B5AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.12:1 | Pass | Pass | Pass |
| Sample text | 2.07:1 | Fail | Fail | Fail |
| #B2B5AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.12: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 #B2B5AF looks to people with the most common types of color vision deficiency.
#b6b4afProtanopia
no red cones#b5b4afDeuteranopia
no green cones#b2b4b3Tritanopia
no blue cones#b4b4b4Achromatopsia
no color vision
CSS examples
.background { background-color: #b2b5af; }
.text { color: #b2b5af; }
.border { border: 2px solid #b2b5af; }
.transparent { background-color: rgb(178 181 175 / 50%); }
.gradient { background: linear-gradient(to right, #b2b5af, #afb5af); }
Similar colors
#b7b9b5Greystone#b2b2adSteam Engine#a9afaaPigeon#b8b5adBurnt Letters#babfbcMetal#bab8adZen Pebble#b4b9b9Provence Wind#bdc2bbSilky Green
Closest common color name: Ash Gray.
See #B2B5AF on its hex code page
Questions
- What color is #B2B5AF?
- #B2B5AF is a gray known as Magnetic. It belongs to the gray family of colors.
- What is the RGB value of Magnetic?
- The RGB value is 178, 181, 175: 178 red, 181 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of Magnetic?
- The complementary color is #B2AFB5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B2B5AF?
- Black text. Black text has a contrast ratio of 10.12:1 and white text 2.07:1. WCAG asks for at least 4.5:1 for normal text.