Hex Color #A1207F - Custom Color
Color Codes
HEX
#A1207F
RGB
rgb(161, 32, 127)
HSL
hsl(316, 67%, 38%)
CMYK
cmyk(0%, 80%, 21%, 37%)
HSV
hsv(316, 80%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.93:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.03: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: #A1207F;
color: #A1207F;
border-color: #A1207F;
}
Tailwind CSS (with arbitrary values)
bg-[#A1207F]
text-[#A1207F]
border-[#A1207F]
// Example usage:
<div className="bg-[#A1207F]">