Hex Color #A85873 - Custom Color
Color Codes
HEX
#A85873
RGB
rgb(168, 88, 115)
HSL
hsl(340, 31%, 50%)
CMYK
cmyk(0%, 48%, 32%, 34%)
HSV
hsv(340, 48%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.31: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: #A85873;
color: #A85873;
border-color: #A85873;
}
Tailwind CSS (with arbitrary values)
bg-[#A85873]
text-[#A85873]
border-[#A85873]
// Example usage:
<div className="bg-[#A85873]">