Hex Color #FC047F - Custom Color
Color Codes
HEX
#FC047F
RGB
rgb(252, 4, 127)
HSL
hsl(330, 98%, 50%)
CMYK
cmyk(0%, 98%, 50%, 1%)
HSV
hsv(330, 98%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.84:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.46: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: #FC047F;
color: #FC047F;
border-color: #FC047F;
}
Tailwind CSS (with arbitrary values)
bg-[#FC047F]
text-[#FC047F]
border-[#FC047F]
// Example usage:
<div className="bg-[#FC047F]">