Hex Color #FB2476 - Custom Color
Color Codes
HEX
#FB2476
RGB
rgb(251, 36, 118)
HSL
hsl(337, 96%, 56%)
CMYK
cmyk(0%, 86%, 53%, 2%)
HSV
hsv(337, 86%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.74:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.62:1
Pass - 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: #FB2476;
color: #FB2476;
border-color: #FB2476;
}
Tailwind CSS (with arbitrary values)
bg-[#FB2476]
text-[#FB2476]
border-[#FB2476]
// Example usage:
<div className="bg-[#FB2476]">