Hex Color #BA078C - Custom Color
Color Codes
HEX
#BA078C
RGB
rgb(186, 7, 140)
HSL
hsl(315, 93%, 38%)
CMYK
cmyk(0%, 96%, 25%, 27%)
HSV
hsv(315, 96%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.01:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.50: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: #BA078C;
color: #BA078C;
border-color: #BA078C;
}
Tailwind CSS (with arbitrary values)
bg-[#BA078C]
text-[#BA078C]
border-[#BA078C]
// Example usage:
<div className="bg-[#BA078C]">