Hex Color #AB120A - Custom Color

Color Codes

HEX
#AB120A
RGB
rgb(171, 18, 10)
HSL
hsl(3, 89%, 35%)
CMYK
cmyk(0%, 89%, 94%, 33%)
HSV
hsv(3, 94%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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