Hex Color #B80252 - Custom Color
Color Codes
HEX
#B80252
RGB
rgb(184, 2, 82)
HSL
hsl(334, 98%, 36%)
CMYK
cmyk(0%, 99%, 55%, 28%)
HSV
hsv(334, 99%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.63:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.17: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: #B80252;
color: #B80252;
border-color: #B80252;
}
Tailwind CSS (with arbitrary values)
bg-[#B80252]
text-[#B80252]
border-[#B80252]
// Example usage:
<div className="bg-[#B80252]">