Hex Color #F879AB - Custom Color
Color Codes
HEX
#F879AB
RGB
rgb(248, 121, 171)
HSL
hsl(336, 90%, 72%)
CMYK
cmyk(0%, 51%, 31%, 3%)
HSV
hsv(336, 51%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.53:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.31: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: #F879AB;
color: #F879AB;
border-color: #F879AB;
}
Tailwind CSS (with arbitrary values)
bg-[#F879AB]
text-[#F879AB]
border-[#F879AB]
// Example usage:
<div className="bg-[#F879AB]">