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