Hex Color #D5179A - Custom Color

Color Codes

HEX
#D5179A
RGB
rgb(213, 23, 154)
HSL
hsl(319, 81%, 46%)
CMYK
cmyk(0%, 89%, 28%, 16%)
HSV
hsv(319, 89%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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