Hex Color #A7AFAB - Custom Color

Color Codes

HEX
#A7AFAB
RGB
rgb(167, 175, 171)
HSL
hsl(150, 5%, 67%)
CMYK
cmyk(5%, 0%, 2%, 31%)
HSV
hsv(150, 5%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.36:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #A7AFAB;
color: #A7AFAB;
border-color: #A7AFAB;
}

Tailwind CSS (with arbitrary values)

bg-[#A7AFAB]
text-[#A7AFAB]
border-[#A7AFAB]
// Example usage:
<div className="bg-[#A7AFAB]">