Hex Color #942260 - Custom Color
Color Codes
HEX
#942260
RGB
rgb(148, 34, 96)
HSL
hsl(327, 63%, 36%)
CMYK
cmyk(0%, 77%, 35%, 42%)
HSV
hsv(327, 77%, 58%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.90:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.66: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: #942260;
color: #942260;
border-color: #942260;
}
Tailwind CSS (with arbitrary values)
bg-[#942260]
text-[#942260]
border-[#942260]
// Example usage:
<div className="bg-[#942260]">