Hex Color #A5587C - Custom Color
Color Codes
HEX
#A5587C
RGB
rgb(165, 88, 124)
HSL
hsl(332, 30%, 50%)
CMYK
cmyk(0%, 47%, 25%, 35%)
HSV
hsv(332, 47%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.90:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.29: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: #A5587C;
color: #A5587C;
border-color: #A5587C;
}
Tailwind CSS (with arbitrary values)
bg-[#A5587C]
text-[#A5587C]
border-[#A5587C]
// Example usage:
<div className="bg-[#A5587C]">