Hex Color #DF135C - Custom Color
Color Codes
HEX
#DF135C
RGB
rgb(223, 19, 92)
HSL
hsl(339, 84%, 47%)
CMYK
cmyk(0%, 91%, 59%, 13%)
HSV
hsv(339, 91%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.79:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.39: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: #DF135C;
color: #DF135C;
border-color: #DF135C;
}
Tailwind CSS (with arbitrary values)
bg-[#DF135C]
text-[#DF135C]
border-[#DF135C]
// Example usage:
<div className="bg-[#DF135C]">