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