Hex Color #D12465 - Custom Color
Color Codes
HEX
#D12465
RGB
rgb(209, 36, 101)
HSL
hsl(337, 71%, 48%)
CMYK
cmyk(0%, 83%, 52%, 18%)
HSV
hsv(337, 83%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.06:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.15: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: #D12465;
color: #D12465;
border-color: #D12465;
}
Tailwind CSS (with arbitrary values)
bg-[#D12465]
text-[#D12465]
border-[#D12465]
// Example usage:
<div className="bg-[#D12465]">