Hex Color #A05898 - Custom Color
Color Codes
HEX
#A05898
RGB
rgb(160, 88, 152)
HSL
hsl(307, 29%, 49%)
CMYK
cmyk(0%, 45%, 5%, 37%)
HSV
hsv(307, 45%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.83:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.34:1
Fail - 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: #A05898;
color: #A05898;
border-color: #A05898;
}
Tailwind CSS (with arbitrary values)
bg-[#A05898]
text-[#A05898]
border-[#A05898]
// Example usage:
<div className="bg-[#A05898]">