Hex Color #AA097C - Custom Color
Color Codes
HEX
#AA097C
RGB
rgb(170, 9, 124)
HSL
hsl(317, 90%, 35%)
CMYK
cmyk(0%, 95%, 27%, 33%)
HSV
hsv(317, 95%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.91:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.04: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: #AA097C;
color: #AA097C;
border-color: #AA097C;
}
Tailwind CSS (with arbitrary values)
bg-[#AA097C]
text-[#AA097C]
border-[#AA097C]
// Example usage:
<div className="bg-[#AA097C]">