Hex Color #F642EC - Custom Color
Color Codes
HEX
#F642EC
RGB
rgb(246, 66, 236)
HSL
hsl(303, 91%, 61%)
CMYK
cmyk(0%, 73%, 4%, 4%)
HSV
hsv(303, 73%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.04:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.91: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: #F642EC;
color: #F642EC;
border-color: #F642EC;
}
Tailwind CSS (with arbitrary values)
bg-[#F642EC]
text-[#F642EC]
border-[#F642EC]
// Example usage:
<div className="bg-[#F642EC]">