Hex Color #D201F2 - Custom Color
Color Codes
HEX
#D201F2
RGB
rgb(210, 1, 242)
HSL
hsl(292, 99%, 48%)
CMYK
cmyk(13%, 100%, 0%, 5%)
HSV
hsv(292, 100%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.03: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: #D201F2;
color: #D201F2;
border-color: #D201F2;
}
Tailwind CSS (with arbitrary values)
bg-[#D201F2]
text-[#D201F2]
border-[#D201F2]
// Example usage:
<div className="bg-[#D201F2]">