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