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