Hex Color #AC296A - Custom Color
Color Codes
HEX
#AC296A
RGB
rgb(172, 41, 106)
HSL
hsl(330, 62%, 42%)
CMYK
cmyk(0%, 76%, 38%, 33%)
HSV
hsv(330, 76%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.40:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.28: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: #AC296A;
color: #AC296A;
border-color: #AC296A;
}
Tailwind CSS (with arbitrary values)
bg-[#AC296A]
text-[#AC296A]
border-[#AC296A]
// Example usage:
<div className="bg-[#AC296A]">