Hex Color #FA5170 - Custom Color
Color Codes
HEX
#FA5170
RGB
rgb(250, 81, 112)
HSL
hsl(349, 94%, 65%)
CMYK
cmyk(0%, 68%, 55%, 2%)
HSV
hsv(349, 68%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.48: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: #FA5170;
color: #FA5170;
border-color: #FA5170;
}
Tailwind CSS (with arbitrary values)
bg-[#FA5170]
text-[#FA5170]
border-[#FA5170]
// Example usage:
<div className="bg-[#FA5170]">