Hex Color #A7979A - Custom Color
Color Codes
HEX
#A7979A
RGB
rgb(167, 151, 154)
HSL
hsl(349, 8%, 62%)
CMYK
cmyk(0%, 10%, 8%, 35%)
HSV
hsv(349, 10%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.79:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.54: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: #A7979A;
color: #A7979A;
border-color: #A7979A;
}
Tailwind CSS (with arbitrary values)
bg-[#A7979A]
text-[#A7979A]
border-[#A7979A]
// Example usage:
<div className="bg-[#A7979A]">