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