Hex Color #C02B9A - Custom Color
Color Codes
HEX
#C02B9A
RGB
rgb(192, 43, 154)
HSL
hsl(315, 63%, 46%)
CMYK
cmyk(0%, 78%, 20%, 25%)
HSV
hsv(315, 78%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.18:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.05: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: #C02B9A;
color: #C02B9A;
border-color: #C02B9A;
}
Tailwind CSS (with arbitrary values)
bg-[#C02B9A]
text-[#C02B9A]
border-[#C02B9A]
// Example usage:
<div className="bg-[#C02B9A]">