Hex Color #BF278F - Custom Color
Color Codes
HEX
#BF278F
RGB
rgb(191, 39, 143)
HSL
hsl(319, 66%, 45%)
CMYK
cmyk(0%, 80%, 25%, 25%)
HSV
hsv(319, 80%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.38:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.90: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: #BF278F;
color: #BF278F;
border-color: #BF278F;
}
Tailwind CSS (with arbitrary values)
bg-[#BF278F]
text-[#BF278F]
border-[#BF278F]
// Example usage:
<div className="bg-[#BF278F]">