Hex Color #BA577D - Custom Color
Color Codes
HEX
#BA577D
RGB
rgb(186, 87, 125)
HSL
hsl(337, 42%, 54%)
CMYK
cmyk(0%, 53%, 33%, 27%)
HSV
hsv(337, 53%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.42:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.75: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: #BA577D;
color: #BA577D;
border-color: #BA577D;
}
Tailwind CSS (with arbitrary values)
bg-[#BA577D]
text-[#BA577D]
border-[#BA577D]
// Example usage:
<div className="bg-[#BA577D]">