Hex Color #CB05BF - Custom Color
Color Codes
HEX
#CB05BF
RGB
rgb(203, 5, 191)
HSL
hsl(304, 95%, 41%)
CMYK
cmyk(0%, 98%, 6%, 20%)
HSV
hsv(304, 98%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.31: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: #CB05BF;
color: #CB05BF;
border-color: #CB05BF;
}
Tailwind CSS (with arbitrary values)
bg-[#CB05BF]
text-[#CB05BF]
border-[#CB05BF]
// Example usage:
<div className="bg-[#CB05BF]">