Hex Color #B9168B - Custom Color

Color Codes

HEX
#B9168B
RGB
rgb(185, 22, 139)
HSL
hsl(317, 79%, 41%)
CMYK
cmyk(0%, 88%, 25%, 27%)
HSV
hsv(317, 88%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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