Hex Color #F0318F - Custom Color
Color Codes
HEX
#F0318F
RGB
rgb(240, 49, 143)
HSL
hsl(330, 86%, 57%)
CMYK
cmyk(0%, 80%, 40%, 6%)
HSV
hsv(330, 80%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.79:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.54: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: #F0318F;
color: #F0318F;
border-color: #F0318F;
}
Tailwind CSS (with arbitrary values)
bg-[#F0318F]
text-[#F0318F]
border-[#F0318F]
// Example usage:
<div className="bg-[#F0318F]">