Hex Color #AFB3BA - Custom Color
Color Codes
HEX
#AFB3BA
RGB
rgb(175, 179, 186)
HSL
hsl(218, 7%, 71%)
CMYK
cmyk(6%, 4%, 0%, 27%)
HSV
hsv(218, 6%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.10:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.98: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: #AFB3BA;
color: #AFB3BA;
border-color: #AFB3BA;
}
Tailwind CSS (with arbitrary values)
bg-[#AFB3BA]
text-[#AFB3BA]
border-[#AFB3BA]
// Example usage:
<div className="bg-[#AFB3BA]">