Hex Color #FB879C - Custom Color
Color Codes
HEX
#FB879C
RGB
rgb(251, 135, 156)
HSL
hsl(349, 94%, 76%)
CMYK
cmyk(0%, 46%, 38%, 2%)
HSV
hsv(349, 46%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.05: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: #FB879C;
color: #FB879C;
border-color: #FB879C;
}
Tailwind CSS (with arbitrary values)
bg-[#FB879C]
text-[#FB879C]
border-[#FB879C]
// Example usage:
<div className="bg-[#FB879C]">