Hex Color #FB3398 - Custom Color
Color Codes
HEX
#FB3398
RGB
rgb(251, 51, 152)
HSL
hsl(330, 96%, 59%)
CMYK
cmyk(0%, 80%, 39%, 2%)
HSV
hsv(330, 80%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.03: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: #FB3398;
color: #FB3398;
border-color: #FB3398;
}
Tailwind CSS (with arbitrary values)
bg-[#FB3398]
text-[#FB3398]
border-[#FB3398]
// Example usage:
<div className="bg-[#FB3398]">