Hex Color #BA296E - Custom Color
Color Codes
HEX
#BA296E
RGB
rgb(186, 41, 110)
HSL
hsl(331, 64%, 45%)
CMYK
cmyk(0%, 78%, 41%, 27%)
HSV
hsv(331, 78%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.78:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.63: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: #BA296E;
color: #BA296E;
border-color: #BA296E;
}
Tailwind CSS (with arbitrary values)
bg-[#BA296E]
text-[#BA296E]
border-[#BA296E]
// Example usage:
<div className="bg-[#BA296E]">