Hex Color #BB168A - Custom Color

Color Codes

HEX
#BB168A
RGB
rgb(187, 22, 138)
HSL
hsl(318, 79%, 41%)
CMYK
cmyk(0%, 88%, 26%, 27%)
HSV
hsv(318, 88%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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