Hex Color #A6A1BD - Custom Color
Color Codes
HEX
#A6A1BD
RGB
rgb(166, 161, 189)
HSL
hsl(251, 18%, 69%)
CMYK
cmyk(12%, 15%, 0%, 26%)
HSV
hsv(251, 15%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.45: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: #A6A1BD;
color: #A6A1BD;
border-color: #A6A1BD;
}
Tailwind CSS (with arbitrary values)
bg-[#A6A1BD]
text-[#A6A1BD]
border-[#A6A1BD]
// Example usage:
<div className="bg-[#A6A1BD]">