Hex Color #A5020C - Custom Color

Color Codes

HEX
#A5020C
RGB
rgb(165, 2, 12)
HSL
hsl(356, 98%, 33%)
CMYK
cmyk(0%, 99%, 93%, 35%)
HSV
hsv(356, 99%, 65%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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