Hex Color #C50770 - Custom Color
Color Codes
HEX
#C50770
RGB
rgb(197, 7, 112)
HSL
hsl(327, 93%, 40%)
CMYK
cmyk(0%, 96%, 43%, 23%)
HSV
hsv(327, 96%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.77:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.64:1
Fail - 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: #C50770;
color: #C50770;
border-color: #C50770;
}
Tailwind CSS (with arbitrary values)
bg-[#C50770]
text-[#C50770]
border-[#C50770]
// Example usage:
<div className="bg-[#C50770]">