Hex Color #DD1B2B - Custom Color
Color Codes
HEX
#DD1B2B
RGB
rgb(221, 27, 43)
HSL
hsl(355, 78%, 49%)
CMYK
cmyk(0%, 88%, 81%, 13%)
HSV
hsv(355, 88%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.92:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.27: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: #DD1B2B;
color: #DD1B2B;
border-color: #DD1B2B;
}
Tailwind CSS (with arbitrary values)
bg-[#DD1B2B]
text-[#DD1B2B]
border-[#DD1B2B]
// Example usage:
<div className="bg-[#DD1B2B]">