Hex Color #D83331 - Custom Color
Color Codes
HEX
#D83331
RGB
rgb(216, 51, 49)
HSL
hsl(1, 68%, 52%)
CMYK
cmyk(0%, 76%, 77%, 15%)
HSV
hsv(1, 77%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.73:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.44: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: #D83331;
color: #D83331;
border-color: #D83331;
}
Tailwind CSS (with arbitrary values)
bg-[#D83331]
text-[#D83331]
border-[#D83331]
// Example usage:
<div className="bg-[#D83331]">