Hex Color #AB1602 - Custom Color

Color Codes

HEX
#AB1602
RGB
rgb(171, 22, 2)
HSL
hsl(7, 98%, 34%)
CMYK
cmyk(0%, 87%, 99%, 33%)
HSV
hsv(7, 99%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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