Hex Color #AA2A6D - Custom Color
Color Codes
HEX
#AA2A6D
RGB
rgb(170, 42, 109)
HSL
hsl(329, 60%, 42%)
CMYK
cmyk(0%, 75%, 36%, 33%)
HSV
hsv(329, 75%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.44:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.26: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: #AA2A6D;
color: #AA2A6D;
border-color: #AA2A6D;
}
Tailwind CSS (with arbitrary values)
bg-[#AA2A6D]
text-[#AA2A6D]
border-[#AA2A6D]
// Example usage:
<div className="bg-[#AA2A6D]">