Hex Color #B6306C - Custom Color
Color Codes
HEX
#B6306C
RGB
rgb(182, 48, 108)
HSL
hsl(333, 58%, 45%)
CMYK
cmyk(0%, 74%, 41%, 29%)
HSV
hsv(333, 74%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.79:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.63: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: #B6306C;
color: #B6306C;
border-color: #B6306C;
}
Tailwind CSS (with arbitrary values)
bg-[#B6306C]
text-[#B6306C]
border-[#B6306C]
// Example usage:
<div className="bg-[#B6306C]">