Hex Color #F54062 - Custom Color
Color Codes
HEX
#F54062
RGB
rgb(245, 64, 98)
HSL
hsl(349, 90%, 61%)
CMYK
cmyk(0%, 74%, 60%, 4%)
HSV
hsv(349, 74%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.79: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: #F54062;
color: #F54062;
border-color: #F54062;
}
Tailwind CSS (with arbitrary values)
bg-[#F54062]
text-[#F54062]
border-[#F54062]
// Example usage:
<div className="bg-[#F54062]">