Hex Color #AB181E - Custom Color

Color Codes

HEX
#AB181E
RGB
rgb(171, 24, 30)
HSL
hsl(358, 75%, 38%)
CMYK
cmyk(0%, 86%, 82%, 33%)
HSV
hsv(358, 86%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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