Hex Color #F81CAF - Custom Color
Color Codes
HEX
#F81CAF
RGB
rgb(248, 28, 175)
HSL
hsl(320, 94%, 54%)
CMYK
cmyk(0%, 89%, 29%, 3%)
HSV
hsv(320, 89%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.78: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: #F81CAF;
color: #F81CAF;
border-color: #F81CAF;
}
Tailwind CSS (with arbitrary values)
bg-[#F81CAF]
text-[#F81CAF]
border-[#F81CAF]
// Example usage:
<div className="bg-[#F81CAF]">