Hex Color #A8878B - Custom Color
Color Codes
HEX
#A8878B
RGB
rgb(168, 135, 139)
HSL
hsl(353, 16%, 59%)
CMYK
cmyk(0%, 20%, 17%, 34%)
HSV
hsv(353, 20%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.23:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.50:1
Pass - WCAG AA (Normal Text)
Fail - 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: #A8878B;
color: #A8878B;
border-color: #A8878B;
}
Tailwind CSS (with arbitrary values)
bg-[#A8878B]
text-[#A8878B]
border-[#A8878B]
// Example usage:
<div className="bg-[#A8878B]">