Hex Color #D50FBA - Custom Color
Color Codes
HEX
#D50FBA
RGB
rgb(213, 15, 186)
HSL
hsl(308, 87%, 45%)
CMYK
cmyk(0%, 93%, 13%, 16%)
HSV
hsv(308, 93%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.61: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: #D50FBA;
color: #D50FBA;
border-color: #D50FBA;
}
Tailwind CSS (with arbitrary values)
bg-[#D50FBA]
text-[#D50FBA]
border-[#D50FBA]
// Example usage:
<div className="bg-[#D50FBA]">