Hex Color #D3396D - Custom Color
Color Codes
HEX
#D3396D
RGB
rgb(211, 57, 109)
HSL
hsl(340, 64%, 53%)
CMYK
cmyk(0%, 73%, 48%, 17%)
HSV
hsv(340, 73%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.59:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.58: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: #D3396D;
color: #D3396D;
border-color: #D3396D;
}
Tailwind CSS (with arbitrary values)
bg-[#D3396D]
text-[#D3396D]
border-[#D3396D]
// Example usage:
<div className="bg-[#D3396D]">