Hex Color #D13157 - Custom Color
Color Codes
HEX
#D13157
RGB
rgb(209, 49, 87)
HSL
hsl(346, 63%, 51%)
CMYK
cmyk(0%, 77%, 58%, 18%)
HSV
hsv(346, 77%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.90:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.29: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: #D13157;
color: #D13157;
border-color: #D13157;
}
Tailwind CSS (with arbitrary values)
bg-[#D13157]
text-[#D13157]
border-[#D13157]
// Example usage:
<div className="bg-[#D13157]">