Hex Color #A6808F - Custom Color
Color Codes
HEX
#A6808F
RGB
rgb(166, 128, 143)
HSL
hsl(336, 18%, 58%)
CMYK
cmyk(0%, 23%, 14%, 35%)
HSV
hsv(336, 23%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.44:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.11: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: #A6808F;
color: #A6808F;
border-color: #A6808F;
}
Tailwind CSS (with arbitrary values)
bg-[#A6808F]
text-[#A6808F]
border-[#A6808F]
// Example usage:
<div className="bg-[#A6808F]">