Hex Color #A9040C - Custom Color

Color Codes

HEX
#A9040C
RGB
rgb(169, 4, 12)
HSL
hsl(357, 95%, 34%)
CMYK
cmyk(0%, 98%, 93%, 34%)
HSV
hsv(357, 98%, 66%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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