Hex Color #B2215E - Custom Color
Color Codes
HEX
#B2215E
RGB
rgb(178, 33, 94)
HSL
hsl(335, 69%, 41%)
CMYK
cmyk(0%, 81%, 47%, 30%)
HSV
hsv(335, 81%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.42:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.27: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: #B2215E;
color: #B2215E;
border-color: #B2215E;
}
Tailwind CSS (with arbitrary values)
bg-[#B2215E]
text-[#B2215E]
border-[#B2215E]
// Example usage:
<div className="bg-[#B2215E]">