Hex Color #DE337B - Custom Color
Color Codes
HEX
#DE337B
RGB
rgb(222, 51, 123)
HSL
hsl(335, 72%, 54%)
CMYK
cmyk(0%, 77%, 45%, 13%)
HSV
hsv(335, 77%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.32:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.87: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: #DE337B;
color: #DE337B;
border-color: #DE337B;
}
Tailwind CSS (with arbitrary values)
bg-[#DE337B]
text-[#DE337B]
border-[#DE337B]
// Example usage:
<div className="bg-[#DE337B]">