Hex Color #A7316C - Custom Color
Color Codes
HEX
#A7316C
RGB
rgb(167, 49, 108)
HSL
hsl(330, 55%, 42%)
CMYK
cmyk(0%, 71%, 35%, 35%)
HSV
hsv(330, 71%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.37: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: #A7316C;
color: #A7316C;
border-color: #A7316C;
}
Tailwind CSS (with arbitrary values)
bg-[#A7316C]
text-[#A7316C]
border-[#A7316C]
// Example usage:
<div className="bg-[#A7316C]">