Hex Color #1C062D - Custom Color
Color Codes
HEX
#1C062D
RGB
rgb(28, 6, 45)
HSL
hsl(274, 76%, 10%)
CMYK
cmyk(38%, 87%, 0%, 82%)
HSV
hsv(274, 87%, 18%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 18.86:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 1.11: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: #1C062D;
color: #1C062D;
border-color: #1C062D;
}
Tailwind CSS (with arbitrary values)
bg-[#1C062D]
text-[#1C062D]
border-[#1C062D]
// Example usage:
<div className="bg-[#1C062D]">