Hex Color #AC021A - Custom Color

Color Codes

HEX
#AC021A
RGB
rgb(172, 2, 26)
HSL
hsl(352, 98%, 34%)
CMYK
cmyk(0%, 99%, 85%, 33%)
HSV
hsv(352, 99%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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