Hex Color #C726AB - Custom Color
Color Codes
HEX
#C726AB
RGB
rgb(199, 38, 171)
HSL
hsl(310, 68%, 46%)
CMYK
cmyk(0%, 81%, 14%, 22%)
HSV
hsv(310, 81%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.89:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.29: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: #C726AB;
color: #C726AB;
border-color: #C726AB;
}
Tailwind CSS (with arbitrary values)
bg-[#C726AB]
text-[#C726AB]
border-[#C726AB]
// Example usage:
<div className="bg-[#C726AB]">