Hex Color #82021E - Custom Color

Color Codes

HEX
#82021E
RGB
rgb(130, 2, 30)
HSL
hsl(347, 97%, 26%)
CMYK
cmyk(0%, 98%, 77%, 49%)
HSV
hsv(347, 98%, 51%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 1.98: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: #82021E;
color: #82021E;
border-color: #82021E;
}

Tailwind CSS (with arbitrary values)

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