Hex Color #BF117A - Custom Color
Color Codes
HEX
#BF117A
RGB
rgb(191, 17, 122)
HSL
hsl(324, 84%, 41%)
CMYK
cmyk(0%, 91%, 36%, 25%)
HSV
hsv(324, 91%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.58: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: #BF117A;
color: #BF117A;
border-color: #BF117A;
}
Tailwind CSS (with arbitrary values)
bg-[#BF117A]
text-[#BF117A]
border-[#BF117A]
// Example usage:
<div className="bg-[#BF117A]">