Hex Color #B22687 - Custom Color
Color Codes
HEX
#B22687
RGB
rgb(178, 38, 135)
HSL
hsl(318, 65%, 42%)
CMYK
cmyk(0%, 79%, 24%, 30%)
HSV
hsv(318, 79%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.97:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.52: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: #B22687;
color: #B22687;
border-color: #B22687;
}
Tailwind CSS (with arbitrary values)
bg-[#B22687]
text-[#B22687]
border-[#B22687]
// Example usage:
<div className="bg-[#B22687]">