Hex Color #F308EA - Custom Color
Color Codes
HEX
#F308EA
RGB
rgb(243, 8, 234)
HSL
hsl(302, 94%, 49%)
CMYK
cmyk(0%, 97%, 4%, 5%)
HSV
hsv(302, 97%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.03: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: #F308EA;
color: #F308EA;
border-color: #F308EA;
}
Tailwind CSS (with arbitrary values)
bg-[#F308EA]
text-[#F308EA]
border-[#F308EA]
// Example usage:
<div className="bg-[#F308EA]">