Hex Color #DF16CA - Custom Color
Color Codes
HEX
#DF16CA
RGB
rgb(223, 22, 202)
HSL
hsl(306, 82%, 48%)
CMYK
cmyk(0%, 90%, 9%, 13%)
HSV
hsv(306, 90%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.11:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.11: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: #DF16CA;
color: #DF16CA;
border-color: #DF16CA;
}
Tailwind CSS (with arbitrary values)
bg-[#DF16CA]
text-[#DF16CA]
border-[#DF16CA]
// Example usage:
<div className="bg-[#DF16CA]">