Hex Color #FE4AFB - Custom Color
Color Codes
HEX
#FE4AFB
RGB
rgb(254, 74, 251)
HSL
hsl(301, 99%, 64%)
CMYK
cmyk(0%, 71%, 1%, 0%)
HSV
hsv(301, 71%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.77:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.59:1
Pass - WCAG AA (Normal Text)
Pass - 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: #FE4AFB;
color: #FE4AFB;
border-color: #FE4AFB;
}
Tailwind CSS (with arbitrary values)
bg-[#FE4AFB]
text-[#FE4AFB]
border-[#FE4AFB]
// Example usage:
<div className="bg-[#FE4AFB]">