Hex Color #D6319F - Custom Color
Color Codes
HEX
#D6319F
RGB
rgb(214, 49, 159)
HSL
hsl(320, 67%, 52%)
CMYK
cmyk(0%, 77%, 26%, 16%)
HSV
hsv(320, 77%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.80: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: #D6319F;
color: #D6319F;
border-color: #D6319F;
}
Tailwind CSS (with arbitrary values)
bg-[#D6319F]
text-[#D6319F]
border-[#D6319F]
// Example usage:
<div className="bg-[#D6319F]">