Hex Color #F546AD - Custom Color
Color Codes
HEX
#F546AD
RGB
rgb(245, 70, 173)
HSL
hsl(325, 90%, 62%)
CMYK
cmyk(0%, 71%, 29%, 4%)
HSV
hsv(325, 71%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.30:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.36: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: #F546AD;
color: #F546AD;
border-color: #F546AD;
}
Tailwind CSS (with arbitrary values)
bg-[#F546AD]
text-[#F546AD]
border-[#F546AD]
// Example usage:
<div className="bg-[#F546AD]">