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