Hex Color #C4125C - Custom Color
Color Codes
HEX
#C4125C
RGB
rgb(196, 18, 92)
HSL
hsl(335, 83%, 42%)
CMYK
cmyk(0%, 91%, 53%, 23%)
HSV
hsv(335, 91%, 77%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.85:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.59: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: #C4125C;
color: #C4125C;
border-color: #C4125C;
}
Tailwind CSS (with arbitrary values)
bg-[#C4125C]
text-[#C4125C]
border-[#C4125C]
// Example usage:
<div className="bg-[#C4125C]">