Hex Color #D7291F - Custom Color

Color Codes

HEX
#D7291F
RGB
rgb(215, 41, 31)
HSL
hsl(3, 75%, 48%)
CMYK
cmyk(0%, 81%, 86%, 16%)
HSV
hsv(3, 86%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.97:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.23: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: #D7291F;
color: #D7291F;
border-color: #D7291F;
}

Tailwind CSS (with arbitrary values)

bg-[#D7291F]
text-[#D7291F]
border-[#D7291F]
// Example usage:
<div className="bg-[#D7291F]">