Hex Color #A40935 - Custom Color

Color Codes

HEX
#A40935
RGB
rgb(164, 9, 53)
HSL
hsl(343, 90%, 34%)
CMYK
cmyk(0%, 95%, 68%, 36%)
HSV
hsv(343, 95%, 64%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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