Hex Color #C54183 - Custom Color
Color Codes
HEX
#C54183
RGB
rgb(197, 65, 131)
HSL
hsl(330, 53%, 51%)
CMYK
cmyk(0%, 67%, 34%, 23%)
HSV
hsv(330, 67%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.71:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.46: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: #C54183;
color: #C54183;
border-color: #C54183;
}
Tailwind CSS (with arbitrary values)
bg-[#C54183]
text-[#C54183]
border-[#C54183]
// Example usage:
<div className="bg-[#C54183]">