Hex Color #BF45AC - Custom Color
Color Codes
HEX
#BF45AC
RGB
rgb(191, 69, 172)
HSL
hsl(309, 49%, 51%)
CMYK
cmyk(0%, 64%, 10%, 25%)
HSV
hsv(309, 64%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.50:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.66: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: #BF45AC;
color: #BF45AC;
border-color: #BF45AC;
}
Tailwind CSS (with arbitrary values)
bg-[#BF45AC]
text-[#BF45AC]
border-[#BF45AC]
// Example usage:
<div className="bg-[#BF45AC]">