Hex Color #A02296 - Custom Color
Color Codes
HEX
#A02296
RGB
rgb(160, 34, 150)
HSL
hsl(305, 65%, 38%)
CMYK
cmyk(0%, 79%, 6%, 37%)
HSV
hsv(305, 79%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.16: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: #A02296;
color: #A02296;
border-color: #A02296;
}
Tailwind CSS (with arbitrary values)
bg-[#A02296]
text-[#A02296]
border-[#A02296]
// Example usage:
<div className="bg-[#A02296]">