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