Hex Color #B7106F - Custom Color
Color Codes
HEX
#B7106F
RGB
rgb(183, 16, 111)
HSL
hsl(326, 84%, 39%)
CMYK
cmyk(0%, 91%, 39%, 28%)
HSV
hsv(326, 91%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.33:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.32: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: #B7106F;
color: #B7106F;
border-color: #B7106F;
}
Tailwind CSS (with arbitrary values)
bg-[#B7106F]
text-[#B7106F]
border-[#B7106F]
// Example usage:
<div className="bg-[#B7106F]">