Hex Color #A51B6F - Custom Color

Color Codes

HEX
#A51B6F
RGB
rgb(165, 27, 111)
HSL
hsl(323, 72%, 38%)
CMYK
cmyk(0%, 84%, 33%, 35%)
HSV
hsv(323, 84%, 65%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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