Hex Color #AA1283 - Custom Color
Color Codes
HEX
#AA1283
RGB
rgb(170, 18, 131)
HSL
hsl(315, 81%, 37%)
CMYK
cmyk(0%, 89%, 23%, 33%)
HSV
hsv(315, 89%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.72:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.12: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: #AA1283;
color: #AA1283;
border-color: #AA1283;
}
Tailwind CSS (with arbitrary values)
bg-[#AA1283]
text-[#AA1283]
border-[#AA1283]
// Example usage:
<div className="bg-[#AA1283]">