Hex Color #A81999 - Custom Color
Color Codes
HEX
#A81999
RGB
rgb(168, 25, 153)
HSL
hsl(306, 74%, 38%)
CMYK
cmyk(0%, 85%, 9%, 34%)
HSV
hsv(306, 85%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.43:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.26: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: #A81999;
color: #A81999;
border-color: #A81999;
}
Tailwind CSS (with arbitrary values)
bg-[#A81999]
text-[#A81999]
border-[#A81999]
// Example usage:
<div className="bg-[#A81999]">