Hex Color #CB19AB - Custom Color
Color Codes
HEX
#CB19AB
RGB
rgb(203, 25, 171)
HSL
hsl(311, 78%, 45%)
CMYK
cmyk(0%, 88%, 16%, 20%)
HSV
hsv(311, 88%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.92:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.27: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: #CB19AB;
color: #CB19AB;
border-color: #CB19AB;
}
Tailwind CSS (with arbitrary values)
bg-[#CB19AB]
text-[#CB19AB]
border-[#CB19AB]
// Example usage:
<div className="bg-[#CB19AB]">