Hex Color #D9283A - Custom Color
Color Codes
HEX
#D9283A
RGB
rgb(217, 40, 58)
HSL
hsl(354, 70%, 50%)
CMYK
cmyk(0%, 82%, 73%, 15%)
HSV
hsv(354, 82%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.31: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: #D9283A;
color: #D9283A;
border-color: #D9283A;
}
Tailwind CSS (with arbitrary values)
bg-[#D9283A]
text-[#D9283A]
border-[#D9283A]
// Example usage:
<div className="bg-[#D9283A]">