Hex Color #A0628A - Custom Color
Color Codes
HEX
#A0628A
RGB
rgb(160, 98, 138)
HSL
hsl(321, 25%, 51%)
CMYK
cmyk(0%, 39%, 14%, 37%)
HSV
hsv(321, 39%, 63%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61:1
Pass - 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: #A0628A;
color: #A0628A;
border-color: #A0628A;
}
Tailwind CSS (with arbitrary values)
bg-[#A0628A]
text-[#A0628A]
border-[#A0628A]
// Example usage:
<div className="bg-[#A0628A]">