Hex Color #AA98BA - Custom Color
Color Codes
HEX
#AA98BA
RGB
rgb(170, 152, 186)
HSL
hsl(272, 20%, 66%)
CMYK
cmyk(9%, 18%, 0%, 27%)
HSV
hsv(272, 18%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.91:1
Pass - WCAG AA (Normal Text)
Pass - 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: #AA98BA;
color: #AA98BA;
border-color: #AA98BA;
}
Tailwind CSS (with arbitrary values)
bg-[#AA98BA]
text-[#AA98BA]
border-[#AA98BA]
// Example usage:
<div className="bg-[#AA98BA]">