Hex Color #AE38AD - Custom Color
Color Codes
HEX
#AE38AD
RGB
rgb(174, 56, 173)
HSL
hsl(301, 51%, 45%)
CMYK
cmyk(0%, 68%, 1%, 32%)
HSV
hsv(301, 68%, 68%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.29:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.97: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: #AE38AD;
color: #AE38AD;
border-color: #AE38AD;
}
Tailwind CSS (with arbitrary values)
bg-[#AE38AD]
text-[#AE38AD]
border-[#AE38AD]
// Example usage:
<div className="bg-[#AE38AD]">