Hex Color #C1398B - Custom Color
Color Codes
HEX
#C1398B
RGB
rgb(193, 57, 139)
HSL
hsl(324, 54%, 49%)
CMYK
cmyk(0%, 70%, 28%, 24%)
HSV
hsv(324, 70%, 76%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.97:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.23: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: #C1398B;
color: #C1398B;
border-color: #C1398B;
}
Tailwind CSS (with arbitrary values)
bg-[#C1398B]
text-[#C1398B]
border-[#C1398B]
// Example usage:
<div className="bg-[#C1398B]">