Hex Color #A9518F - Custom Color
Color Codes
HEX
#A9518F
RGB
rgb(169, 81, 143)
HSL
hsl(318, 35%, 49%)
CMYK
cmyk(0%, 52%, 15%, 34%)
HSV
hsv(318, 52%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.93:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.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: #A9518F;
color: #A9518F;
border-color: #A9518F;
}
Tailwind CSS (with arbitrary values)
bg-[#A9518F]
text-[#A9518F]
border-[#A9518F]
// Example usage:
<div className="bg-[#A9518F]">