Hex Color #F028FD - Custom Color
Color Codes
HEX
#F028FD
RGB
rgb(240, 40, 253)
HSL
hsl(296, 98%, 57%)
CMYK
cmyk(5%, 84%, 0%, 1%)
HSV
hsv(296, 84%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.27:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.43: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: #F028FD;
color: #F028FD;
border-color: #F028FD;
}
Tailwind CSS (with arbitrary values)
bg-[#F028FD]
text-[#F028FD]
border-[#F028FD]
// Example usage:
<div className="bg-[#F028FD]">