Hex Color #F2004D - Custom Color
Color Codes
HEX
#F2004D
RGB
rgb(242, 0, 77)
HSL
hsl(341, 100%, 47%)
CMYK
cmyk(0%, 100%, 68%, 5%)
HSV
hsv(341, 100%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.88: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: #F2004D;
color: #F2004D;
border-color: #F2004D;
}
Tailwind CSS (with arbitrary values)
bg-[#F2004D]
text-[#F2004D]
border-[#F2004D]
// Example usage:
<div className="bg-[#F2004D]">