Hex Color #F845A6 - Custom Color
Color Codes
HEX
#F845A6
RGB
rgb(248, 69, 166)
HSL
hsl(327, 93%, 62%)
CMYK
cmyk(0%, 72%, 33%, 3%)
HSV
hsv(327, 72%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.39: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: #F845A6;
color: #F845A6;
border-color: #F845A6;
}
Tailwind CSS (with arbitrary values)
bg-[#F845A6]
text-[#F845A6]
border-[#F845A6]
// Example usage:
<div className="bg-[#F845A6]">