Hex Color #DC178E - Custom Color

Color Codes

HEX
#DC178E
RGB
rgb(220, 23, 142)
HSL
hsl(324, 81%, 48%)
CMYK
cmyk(0%, 90%, 35%, 14%)
HSV
hsv(324, 90%, 86%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.56:1
Pass - 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: #DC178E;
color: #DC178E;
border-color: #DC178E;
}

Tailwind CSS (with arbitrary values)

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