Hex Color #D4169D - Custom Color
Color Codes
HEX
#D4169D
RGB
rgb(212, 22, 157)
HSL
hsl(317, 81%, 46%)
CMYK
cmyk(0%, 90%, 26%, 17%)
HSV
hsv(317, 90%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.77:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.40: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: #D4169D;
color: #D4169D;
border-color: #D4169D;
}
Tailwind CSS (with arbitrary values)
bg-[#D4169D]
text-[#D4169D]
border-[#D4169D]
// Example usage:
<div className="bg-[#D4169D]">