Magnetic color: hex code #B2B5AF

#B2B5AF rgb(178, 181, 175)
Shades of gray

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
RGBrgb(178, 181, 175)
RGB percentrgb(69.8%, 71%, 68.6%)
HSLhsl(90, 4%, 70%)
HSV / HSBhsv(90, 3%, 71%)
CMYKcmyk(2%, 0%, 3%, 29%)
CIE LABlab(73.29, -2.17, 2.68)
CIE LCHlch(73.29, 3.45, 128.93)
CIE XYZxyz(42.621, 45.608, 47.107)
Decimal11711919
Short hexNone (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 #B2B5AFRatioAAAAAAA large
Sample text10.12:1PassPassPass
Sample text2.07:1FailFailFail
#B2B5AF as text onRatioAAAAAAA large
Sample text2.07:1FailFailFail
Sample text10.12:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.