Hex Color #B6197A - Custom Color

Color Codes

HEX
#B6197A
RGB
rgb(182, 25, 122)
HSL
hsl(323, 76%, 41%)
CMYK
cmyk(0%, 86%, 33%, 29%)
HSV
hsv(323, 86%, 71%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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