Hex Color #DC718A - Custom Color
Color Codes
HEX
#DC718A
RGB
rgb(220, 113, 138)
HSL
hsl(346, 60%, 65%)
CMYK
cmyk(0%, 49%, 37%, 14%)
HSV
hsv(346, 49%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.10:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.77: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: #DC718A;
color: #DC718A;
border-color: #DC718A;
}
Tailwind CSS (with arbitrary values)
bg-[#DC718A]
text-[#DC718A]
border-[#DC718A]
// Example usage:
<div className="bg-[#DC718A]">