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