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