Hex Color #DC5170 - Custom Color
Color Codes
HEX
#DC5170
RGB
rgb(220, 81, 112)
HSL
hsl(347, 67%, 59%)
CMYK
cmyk(0%, 63%, 49%, 14%)
HSV
hsv(347, 63%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.85:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.45: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: #DC5170;
color: #DC5170;
border-color: #DC5170;
}
Tailwind CSS (with arbitrary values)
bg-[#DC5170]
text-[#DC5170]
border-[#DC5170]
// Example usage:
<div className="bg-[#DC5170]">