Building Block Color — #AFAFA7: Codes, Palettes & Contrast

Building Block (#AFAFA7) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.

Building Block is a named gray color, ready to use anywhere you need it.

Building Block#AFAFA7

Building Block color codes

HEX#AFAFA7
RGBrgb(175, 175, 167)
HSLhsl(60, 5%, 67%)
OKLCHoklch(0.752 0.011 106.7)

Browse more gray colors.

Readable text on Building Block

Black text (#000000) has the higher contrast against this background: 9.51:1.

Text colorRatioNormal text AANormal text AAA
Black9.51:1PassPass
White2.21:1FailFail

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale