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