Hex Color #AE508A - Custom Color
Color Codes
HEX
#AE508A
RGB
rgb(174, 80, 138)
HSL
hsl(323, 37%, 50%)
CMYK
cmyk(0%, 54%, 21%, 32%)
HSV
hsv(323, 54%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.31: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: #AE508A;
color: #AE508A;
border-color: #AE508A;
}
Tailwind CSS (with arbitrary values)
bg-[#AE508A]
text-[#AE508A]
border-[#AE508A]
// Example usage:
<div className="bg-[#AE508A]">