Hex Color #CF477C - Custom Color
Color Codes
HEX
#CF477C
RGB
rgb(207, 71, 124)
HSL
hsl(337, 59%, 55%)
CMYK
cmyk(0%, 66%, 40%, 19%)
HSV
hsv(337, 66%, 81%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.33:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.85: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: #CF477C;
color: #CF477C;
border-color: #CF477C;
}
Tailwind CSS (with arbitrary values)
bg-[#CF477C]
text-[#CF477C]
border-[#CF477C]
// Example usage:
<div className="bg-[#CF477C]">