Hex Color #B6174A - Custom Color

Color Codes

HEX
#B6174A
RGB
rgb(182, 23, 74)
HSL
hsl(341, 78%, 40%)
CMYK
cmyk(0%, 87%, 59%, 29%)
HSV
hsv(341, 87%, 71%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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