Hex Color #B02A99 - Custom Color
Color Codes
HEX
#B02A99
RGB
rgb(176, 42, 153)
HSL
hsl(310, 61%, 43%)
CMYK
cmyk(0%, 76%, 13%, 31%)
HSV
hsv(310, 76%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.77:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.64: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: #B02A99;
color: #B02A99;
border-color: #B02A99;
}
Tailwind CSS (with arbitrary values)
bg-[#B02A99]
text-[#B02A99]
border-[#B02A99]
// Example usage:
<div className="bg-[#B02A99]">