Hex Color #B24C9D - Custom Color
Color Codes
HEX
#B24C9D
RGB
rgb(178, 76, 157)
HSL
hsl(312, 40%, 50%)
CMYK
cmyk(0%, 57%, 12%, 30%)
HSV
hsv(312, 57%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.76:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.41: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: #B24C9D;
color: #B24C9D;
border-color: #B24C9D;
}
Tailwind CSS (with arbitrary values)
bg-[#B24C9D]
text-[#B24C9D]
border-[#B24C9D]
// Example usage:
<div className="bg-[#B24C9D]">