Hex Color #FC5198 - Custom Color
Color Codes
HEX
#FC5198
RGB
rgb(252, 81, 152)
HSL
hsl(335, 97%, 65%)
CMYK
cmyk(0%, 68%, 40%, 1%)
HSV
hsv(335, 68%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.10:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.77: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: #FC5198;
color: #FC5198;
border-color: #FC5198;
}
Tailwind CSS (with arbitrary values)
bg-[#FC5198]
text-[#FC5198]
border-[#FC5198]
// Example usage:
<div className="bg-[#FC5198]">