Hex Color #C901B7 - Custom Color
Color Codes
HEX
#C901B7
RGB
rgb(201, 1, 183)
HSL
hsl(305, 99%, 40%)
CMYK
cmyk(0%, 100%, 9%, 21%)
HSV
hsv(305, 100%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.03:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.17: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: #C901B7;
color: #C901B7;
border-color: #C901B7;
}
Tailwind CSS (with arbitrary values)
bg-[#C901B7]
text-[#C901B7]
border-[#C901B7]
// Example usage:
<div className="bg-[#C901B7]">